chore: pin go version in CI (#2398)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-05-13 21:34:02 +01:00
committed by GitHub
parent 8eec0a4ace
commit 5cdb4cd2f5
3 changed files with 24 additions and 4 deletions

View File

@@ -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

View File

@@ -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: |

View File

@@ -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": [