From 3092c260665188a3a38827a2ed1550d2a9bdee79 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Sun, 22 Nov 2026 07:51:53 +0000 Subject: [PATCH] ci: build releases and run the security scan with the same Go version The scan used its own newer Go version instead of the one used to build. Its results did not match the version that ships. --- .github/workflows/tests.yml | 3 +++ go.mod | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8100fed..ff17d47 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,9 @@ jobs: - uses: golang/govulncheck-action@032d45514ae346b1db93c04b0c90b841c370344f # v1.1.0 with: repo-checkout: false + # Keep the Go installed above instead of the action default (stable). + go-version-input: "" + cache: false - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/go.mod b/go.mod index b27a6ca..bfc4e79 100644 --- a/go.mod +++ b/go.mod @@ -19,3 +19,5 @@ require ( ) go 1.26.0 + +toolchain go1.26.11