From 5cdb4cd2f58829d474ab7a218d00d152f33e50e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Wed, 13 May 2026 21:34:02 +0100 Subject: [PATCH] chore: pin go version in CI (#2398) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- .github/workflows/lint.yml | 9 ++++++--- .github/workflows/release.yml | 3 ++- renovate.json | 16 ++++++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1e1275b9..f57dcb2c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,7 +23,8 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version-file: 'go.mod' + # renovate: golang=go + go-version: '1.26.2' - name: Test run: make test @@ -46,7 +47,8 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version-file: 'go.mod' + # renovate: golang=go + go-version: '1.26.2' - name: Install promtool run: | @@ -85,7 +87,8 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version-file: 'go.mod' + # renovate: golang=go + go-version: '1.26.2' - name: golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d1c27f4..9731a4bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,8 @@ jobs: - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version-file: 'go.mod' + # renovate: golang=go + go-version: '1.26.2' - name: Install WiX run: | diff --git a/renovate.json b/renovate.json index 8e133a60..e3c88d97 100644 --- a/renovate.json +++ b/renovate.json @@ -33,6 +33,22 @@ ], "enabled": false }, + { + "enabled": false, + "matchBaseBranches": ["/^[0-9]\\.[0-9][0-9]$/"], + "matchPackageNames": [ + "github.com/golangci/golangci-lint/cmd/golangci-lint", + "golangci/golangci-lint", + "golangci/golangci-lint-action" + ] + }, + { + "enabled": true, + "matchManagers": ["gomod"], + "matchDepNames": ["go"], + "matchDepTypes": ["golang"], + "rangeStrategy": "bump" + }, { "groupName": "golangci-lint", "matchPackageNames": [