This commit is contained in:
Andrea Spacca
2023-03-01 18:20:15 +09:00
parent 1c5d12a5f1
commit aa72b7a6c4

View File

@@ -26,6 +26,7 @@ jobs:
with:
go-version: '${{ matrix.go-version }}'
check-latest: true
run: go version
- name: Install Go ${{ matrix.go_version }}
if: ${{ matrix.go_version == 'tip' }}
run: |
@@ -33,8 +34,8 @@ jobs:
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
run: go version
- name: Vet and test
run: |
go version