1515 - name : Setup Golang
1616 uses : actions/setup-go@v3
1717 with :
18- go-version : ' 1.17.5 '
18+ go-version : ' 1.19 '
1919 - name : Download all Go modules
2020 run : |
2121 go mod download
3333 - name : Setup Golang
3434 uses : actions/setup-go@v3
3535 with :
36- go-version : ' 1.17.5 '
36+ go-version : ' 1.19 '
3737 - name : Restore go build cache
3838 uses : actions/cache@v1
3939 with :
@@ -52,11 +52,10 @@ jobs:
5252 - name : Setup Golang
5353 uses : actions/setup-go@v3
5454 with :
55- go-version : ' 1.17.5 '
55+ go-version : ' 1.19 '
5656 - name : Run golangci-lint
57- uses : golangci/golangci-lint-action@v3.1.0
57+ uses : golangci/golangci-lint-action@v3
5858 with :
59- version : v1.45.2
6059 args : --timeout 5m
6160
6261 test-go :
7776 - name : Setup Golang
7877 uses : actions/setup-go@v3
7978 with :
80- go-version : ' 1.17.5 '
79+ go-version : ' 1.19 '
8180 - name : Restore go build cache
8281 uses : actions/cache@v1
8382 with :
@@ -90,12 +89,12 @@ jobs:
9089 run : pushd pkg/test/runner; ./build.sh; popd
9190 - name : Install the latest buildkit release
9291 run : |
93- curl -sSL "https://github.com/moby/buildkit/releases/download/v0.10.1 /buildkit-v0.10.1 .linux-amd64.tar.gz" | sudo tar -xz -C /usr/local
92+ curl -sSL "https://github.com/moby/buildkit/releases/download/v0.10.4 /buildkit-v0.10.4 .linux-amd64.tar.gz" | sudo tar -xz -C /usr/local
9493 - name : Start buildkit daemon
9594 run : |
9695 sudo --non-interactive --shell <<END_SUDO
9796 install -d -m 0750 -o root -g docker /run/buildkit
98- buildkitd --oci-worker-snapshotter=stargz &
97+ buildkitd &
9998 while ! test -S /run/buildkit/buildkitd.sock; do sleep 0.1; done
10099 chgrp docker /run/buildkit/buildkitd.sock
101100 END_SUDO
@@ -121,7 +120,7 @@ jobs:
121120 - name : Setup Golang
122121 uses : actions/setup-go@v3
123122 with :
124- go-version : ' 1.17.5 '
123+ go-version : ' 1.19 '
125124 - name : Restore go build cache
126125 uses : actions/cache@v1
127126 with :
0 commit comments