Skip to content

Commit

Permalink
Remove tip test.
Browse files Browse the repository at this point in the history
  • Loading branch information
googollee committed Jul 29, 2024
1 parent 0ace15e commit b5be194
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,15 @@ jobs:
matrix:
go:
- '1.22'
- 'tip'
steps:
- uses: actions/checkout@v4

- name: Set up Go
if: matrix.go != 'tip'
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go }}'
check-latest: true

- name: Install Go
if: matrix.go == '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
~/sdk/gotip/bin/go version
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
- name: Build
run: go build -v ./...

Expand Down

0 comments on commit b5be194

Please sign in to comment.