From 6824d3f799a6e330623b33199ffe1c25012641d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sun, 12 Nov 2023 13:41:14 +0100 Subject: [PATCH] bump go mod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- .github/workflows/lint.yml | 13 ++++++------- .github/workflows/release.yml | 2 +- go.mod | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 01c539dc..f13db857 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0959d83..a5f27788 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | diff --git a/go.mod b/go.mod index 621cc35d..347dafeb 100644 --- a/go.mod +++ b/go.mod @@ -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