Skip to content

Commit 3d565d8

Browse files
committed
fix(ci): install go tip correctly
1 parent 0d16827 commit 3d565d8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@ jobs:
3737
- name: Install Go tip
3838
if: matrix.go-version == 'tip'
3939
run: |
40-
curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
41-
ls -lah gotip.tar.gz
42-
mkdir -p ~/sdk/gotip
43-
tar -C ~/sdk/gotip -xzf gotip.tar.gz
40+
go install golang.org/dl/gotip@latest
41+
$HOME/go/bin/gotip download
4442
~/sdk/gotip/bin/go version
4543
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
46-
go version
4744
4845
- name: Cache
4946
uses: actions/cache@v4

0 commit comments

Comments
 (0)