.github: upgrade setup-go action (#259)

Upgrade to v3.0.0. Set check-latest option.
This commit is contained in:
Michael McLoughlin
2022-04-23 21:01:50 -07:00
committed by GitHub
parent 3d25f4574c
commit b758297525
5 changed files with 54 additions and 27 deletions

View File

@@ -14,9 +14,10 @@ jobs:
GOFLAGS: -tags=stress
steps:
- name: Install Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
with:
go-version: 1.18.x
check-latest: true
- name: Configure Go Environment
run: |
echo GOPATH=${{ runner.workspace }} >> $GITHUB_ENV