Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 62aec6e

Browse files
author
Bjørn
authored
Upgrade Go to 1.17.2 (#55)
1 parent f3ae662 commit 62aec6e

File tree

4 files changed

+13
-53
lines changed

4 files changed

+13
-53
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22
go:
3-
- "1.16.4"
3+
- "1.17.2"
44
script:
55
- go build ./...
66
- go test ./...

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16.4 as builder
1+
FROM golang:1.17.2 as builder
22
WORKDIR /src
33
ENV CGO_ENABLED=0
44
ENV GOOS=linux

go.mod

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module github.com/lunarway/snyk_exporter
22

3-
go 1.13
3+
go 1.17
44

55
require (
66
github.com/alecthomas/units v0.0.0-20201120081800-1786d5ef83d4 // indirect
77
github.com/google/go-cmp v0.5.4 // indirect
8-
github.com/kr/text v0.2.0 // indirect
98
github.com/prometheus/client_golang v1.8.0
109
github.com/prometheus/common v0.15.0
1110
github.com/sirupsen/logrus v1.7.0 // indirect
@@ -14,6 +13,15 @@ require (
1413
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
1514
google.golang.org/protobuf v1.25.0 // indirect
1615
gopkg.in/alecthomas/kingpin.v2 v2.2.6
17-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
1816
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
1917
)
18+
19+
require (
20+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
21+
github.com/beorn7/perks v1.0.1 // indirect
22+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
23+
github.com/golang/protobuf v1.4.3 // indirect
24+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
25+
github.com/prometheus/client_model v0.2.0 // indirect
26+
github.com/prometheus/procfs v0.2.0 // indirect
27+
)

0 commit comments

Comments
 (0)