From 8bcf18e18232a5cf3a2fc3add7a6c4c43ac4228a Mon Sep 17 00:00:00 2001 From: George Blue Date: Wed, 11 Dec 2024 13:49:21 +0000 Subject: [PATCH] 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. --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 19c0cc83..7b6b7d0f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -24,7 +24,7 @@ jobs: with: go-version: ${{ matrix.version }} - uses: actions/checkout@v4 - - run: make test + - run: GOTOOLCHAIN=local make test call-dependabot-pr-workflow: needs: test if: ${{ success() && github.actor == 'dependabot[bot]' }}