mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-05-14 12:09:52 +00:00
chore: pin go version in CI (#2398)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
@@ -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
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user