mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-30 19:35:01 +00:00
Merge pull request #1283 from breed808/go_version_bump
chore(deps): Bump Go version to v1.21.1
This commit is contained in:
commit
6aa0ac5706
7
.github/workflows/lint.yml
vendored
7
.github/workflows/lint.yml
vendored
@ -23,6 +23,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
GO_VER: '^1.21.1'
|
||||||
PROMU_VER: '0.14.0'
|
PROMU_VER: '0.14.0'
|
||||||
PROMTOOL_VER: '2.43.0'
|
PROMTOOL_VER: '2.43.0'
|
||||||
|
|
||||||
@ -33,7 +34,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.20.2'
|
go-version: ${{ env.GO_VER }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: make test
|
run: make test
|
||||||
@ -57,7 +58,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.20.2'
|
go-version: ${{ env.GO_VER }}
|
||||||
|
|
||||||
- name: Install promtool
|
- name: Install promtool
|
||||||
run: |
|
run: |
|
||||||
@ -89,7 +90,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.20.2'
|
go-version: ${{ env.GO_VER }}
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.20.2'
|
go-version: '^1.21.1'
|
||||||
|
|
||||||
- name: Install Build deps
|
- name: Install Build deps
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user