mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-05-19 06:29:53 +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/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
# renovate: golang=go
|
||||||
|
go-version: '1.26.2'
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: make test
|
run: make test
|
||||||
@@ -46,7 +47,8 @@ jobs:
|
|||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
# renovate: golang=go
|
||||||
|
go-version: '1.26.2'
|
||||||
|
|
||||||
- name: Install promtool
|
- name: Install promtool
|
||||||
run: |
|
run: |
|
||||||
@@ -85,7 +87,8 @@ jobs:
|
|||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
# renovate: golang=go
|
||||||
|
go-version: '1.26.2'
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
|
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
|
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
# renovate: golang=go
|
||||||
|
go-version: '1.26.2'
|
||||||
|
|
||||||
- name: Install WiX
|
- name: Install WiX
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -33,6 +33,22 @@
|
|||||||
],
|
],
|
||||||
"enabled": false
|
"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",
|
"groupName": "golangci-lint",
|
||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
|
|||||||
Reference in New Issue
Block a user