bump go mod

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke 2023-11-12 13:41:14 +01:00
parent 552e9d8cd2
commit 6824d3f799
No known key found for this signature in database
3 changed files with 8 additions and 9 deletions

View File

@ -23,7 +23,6 @@ on:
- master
env:
GO_VER: '^1.21.1'
PROMU_VER: '0.14.0'
PROMTOOL_VER: '2.43.0'
@ -32,9 +31,9 @@ jobs:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VER }}
go-version-file: 'go.mod'
- name: Test
run: make test
@ -56,9 +55,9 @@ jobs:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VER }}
go-version-file: 'go.mod'
- name: Install promtool
run: |
@ -88,9 +87,9 @@ jobs:
git config --global core.eol lf
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VER }}
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3

View File

@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '^1.21.1'
go-version-file: 'go.mod'
- name: Install Build deps
run: |

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/prometheus-community/windows_exporter
go 1.19
go 1.21
require (
github.com/Microsoft/hcsshim v0.11.4