.github/workflows: improve release reproducibility

Remove the go-version-file test target, because it will just use the
toolchain line. It's a bit unfortunate we lose coverage of a go.mod
version that's older than oldstable, but that should not happen and it'd
not be a supported Go version anyway.
This commit is contained in:
Filippo Valsorda
2025-12-27 15:59:06 +01:00
parent 13aab81842
commit 50a600eef5
4 changed files with 39 additions and 12 deletions
-4
View File
@@ -15,7 +15,6 @@ jobs:
go:
- { go-version: stable }
- { go-version: oldstable }
- { go-version-file: go.mod }
os:
- ubuntu-latest
- macos-latest
@@ -28,7 +27,6 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go.go-version }}
go-version-file: ${{ matrix.go.go-version-file }}
- run: |
go test -race ./...
test-latest:
@@ -39,7 +37,6 @@ jobs:
go:
- { go-version: stable }
- { go-version: oldstable }
- { go-version-file: go.mod }
steps:
- uses: actions/checkout@v5
with:
@@ -47,7 +44,6 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go.go-version }}
go-version-file: ${{ matrix.go.go-version-file }}
- uses: geomys/sandboxed-step@v1.2.1
with:
run: |