ci: derive Go version from go.mod instead of 'stable' #397

Merged
argoyle merged 3 commits from fix/ci-go-version-from-gomod into main 2026-08-17 08:24:31 +00:00
Showing only changes of commit b8b75bcf2b - Show all commits
+2 -2
View File
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: 'stable'
go-version-file: go.mod
- name: Run tests
run: go test -race -coverprofile=coverage.txt ./...
@@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: 'stable'
go-version-file: go.mod
- name: Check vulnerabilities
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest