mirror of
https://github.com/kopia/kopia.git
synced 2026-06-26 14:55:40 -04:00
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:
2
.github/workflows/code-coverage.yml
vendored
2
.github/workflows/code-coverage.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user