Skip to content

Commit 8bcf18e

Browse files
authored
test: prevent upgrade of Go version (#342)
We deliberately test against a matrix of Go versions, but Go toolchain changes mean that the version of Go is being upgraded on the fly, so for example the Go 1.21 test actually uses Go 1.23. This is confusing and not the desired behavior.
1 parent b689c4c commit 8bcf18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
go-version: ${{ matrix.version }}
2626
- uses: actions/checkout@v4
27-
- run: make test
27+
- run: GOTOOLCHAIN=local make test
2828
call-dependabot-pr-workflow:
2929
needs: test
3030
if: ${{ success() && github.actor == 'dependabot[bot]' }}

0 commit comments

Comments
 (0)