From b64115c4ae9a1bbbcf5f4a09854090ea449bf449 Mon Sep 17 00:00:00 2001 From: Peter Fern Date: Wed, 18 Aug 2021 10:00:40 +1000 Subject: [PATCH] feat(build): Update to Go 1.17 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- go.mod | 14 +++++++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7059a18..ff4ed93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - name: Install promu id: make_promu diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d346ed3..9d96824 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - name: Test id: test diff --git a/go.mod b/go.mod index 5b67cc6..605e637 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pdf/zfs_exporter -go 1.16 +go 1.17 require ( github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect @@ -12,3 +12,15 @@ require ( golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 // indirect gopkg.in/alecthomas/kingpin.v2 v2.2.6 ) + +require ( + github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/cespare/xxhash/v2 v2.1.1 // indirect + github.com/go-logfmt/logfmt v0.5.0 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/procfs v0.6.0 // indirect + google.golang.org/protobuf v1.26.0 // indirect +)