Skip to content

Commit

Permalink
fix(ci): install go tip correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lasiar committed Jul 14, 2024
1 parent 0d16827 commit 3d565d8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@ jobs:
- name: Install Go tip
if: matrix.go-version == 'tip'
run: |
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
ls -lah gotip.tar.gz
mkdir -p ~/sdk/gotip
tar -C ~/sdk/gotip -xzf gotip.tar.gz
go install golang.org/dl/gotip@latest
$HOME/go/bin/gotip download
~/sdk/gotip/bin/go version
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
go version
- name: Cache
uses: actions/cache@v4
Expand Down

0 comments on commit 3d565d8

Please sign in to comment.