mirror of
https://github.com/FiloSottile/age.git
synced 2026-09-10 01:56:18 +00:00
.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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user