File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 15
15
- name : Set up Go
16
16
uses : actions/setup-go@v2
17
17
with :
18
- go-version : 1.16
18
+ go-version : 1.17
19
19
20
20
- name : Run GoReleaser
21
21
uses : goreleaser/goreleaser-action@v2
Original file line number Diff line number Diff line change 11
11
test :
12
12
strategy :
13
13
matrix :
14
- go-version : [1.16 .x]
14
+ go-version : [1.17 .x]
15
15
platform : [ubuntu-latest, macos-latest, windows-latest]
16
16
runs-on : ${{ matrix.platform }}
17
17
steps :
Original file line number Diff line number Diff line change 1
- FROM golang as builder
1
+ FROM golang:1.17 as builder
2
2
ADD . /go/atlas_exporter/
3
3
WORKDIR /go/atlas_exporter
4
4
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/bin/atlas_exporter
Original file line number Diff line number Diff line change @@ -12,3 +12,19 @@ require (
12
12
github.com/stretchr/testify v1.7.0
13
13
gopkg.in/yaml.v2 v2.4.0
14
14
)
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
+ )
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf
98
98
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE =
99
99
github.com/sirupsen/logrus v1.8.1 /go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0 =
100
100
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
101
- github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A =
102
101
github.com/stretchr/objx v0.1.1 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
103
102
github.com/stretchr/testify v1.2.2 /go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs =
104
103
github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
You can’t perform that action at this time.
0 commit comments