Skip to content

Commit d23ae56

Browse files
committed
[dev] Update go to 1.16.3
1 parent a4debfb commit d23ae56

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ tasks:
3232
- before: scripts/branch-namespace.sh
3333
init: yarn --network-timeout 100000 && yarn build
3434
- name: Go
35-
init: leeway exec --filter-type go -v -- go mod download
35+
init: scripts/download-dependencies.sh
3636
openMode: split-right
3737
vscode:
3838
extensions:

dev/image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ ENV PATH=/home/gitpod/.nvm/versions/node/v${GITPOD_NODE_VERSION}/bin:$PATH
114114
# Fix the Go version
115115
ENV GOPATH=$HOME/go-packages
116116
ENV GOROOT=$HOME/go
117-
RUN go get golang.org/dl/go1.16 && \
118-
go1.16 download && \
119-
mv $(which go1.16) $(which go)
117+
RUN go get golang.org/dl/go1.16.3 && \
118+
go1.16.3 download && \
119+
mv $(which go1.16.3) $(which go)
120120
ENV GOPATH=/workspace/go \
121121
PATH=/workspace/go/bin:$PATH
122122

scripts/download-dependencies.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
GOFLAGS="-mod=readonly"
4+
5+
leeway exec --filter-type go -v -- go mod download

0 commit comments

Comments
 (0)