Skip to content

Commit 9b7db80

Browse files
committed
use go 1.17 in actions
1 parent 3cf0c1e commit 9b7db80

File tree

5 files changed

+19
-4
lines changed

5 files changed

+19
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.16
18+
go-version: 1.17
1919

2020
- name: Run GoReleaser
2121
uses: goreleaser/goreleaser-action@v2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test:
1212
strategy:
1313
matrix:
14-
go-version: [1.16.x]
14+
go-version: [1.17.x]
1515
platform: [ubuntu-latest, macos-latest, windows-latest]
1616
runs-on: ${{ matrix.platform }}
1717
steps:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang as builder
1+
FROM golang:1.17 as builder
22
ADD . /go/atlas_exporter/
33
WORKDIR /go/atlas_exporter
44
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/bin/atlas_exporter

go.mod

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,19 @@ require (
1212
github.com/stretchr/testify v1.7.0
1313
gopkg.in/yaml.v2 v2.4.0
1414
)
15+
16+
require (
17+
github.com/beorn7/perks v1.0.1 // indirect
18+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
19+
github.com/davecgh/go-spew v1.1.1 // indirect
20+
github.com/golang/protobuf v1.4.3 // indirect
21+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
22+
github.com/pmezard/go-difflib v1.0.0 // indirect
23+
github.com/prometheus/client_model v0.2.0 // indirect
24+
github.com/prometheus/common v0.26.0 // indirect
25+
github.com/prometheus/procfs v0.6.0 // indirect
26+
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
27+
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
28+
google.golang.org/protobuf v1.26.0-rc.1 // indirect
29+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
30+
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf
9898
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
9999
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
100100
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
101-
github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=
102101
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
103102
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
104103
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=

0 commit comments

Comments
 (0)