.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

@@ -101,9 +101,10 @@ func GenerateWorkflow(pkgs thirdparty.Packages) ([]byte, error) {
// Install Go.
g.Linef("- name: Install Go")
g.Linef(" uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3")
g.Linef(" uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0")
g.Linef(" with:")
g.Linef(" go-version: 1.18.x")
g.Linef(" check-latest: true")
// Checkout avo.
avodir := "avo"