chore(ci): use 'with.go-version-file' in actions/setup-go (#3282)

This simplifies managing the Go version used in CI, as it will
only require updating the `go.mod` file on a version upgrade.
This commit is contained in:
Julio Lopez
2023-09-08 17:36:57 -07:00
committed by GitHub
parent 8736fca3aa
commit c4a3ddc514
12 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version-file: 'go.mod'
check-latest: true
id: go
- name: Run Tests