Skip to content

Commit bcaef59

Browse files
committed
build: use go1.17
Signed-off-by: Rui Chen <[email protected]>
1 parent c6261c6 commit bcaef59

File tree

3 files changed

+33
-8
lines changed

3 files changed

+33
-8
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
build:
44
working_directory: /go/src/github.com/Clever/microplane
55
docker:
6-
- image: circleci/golang:1.15-buster
6+
- image: circleci/golang:1.17-buster
77
environment:
88
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
99
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include golang.mk
55
PKGS := $(shell go list ./... | grep -v vendor)
66
VERSION := $(shell head -n 1 VERSION)
77
EXECUTABLE := mp
8-
$(eval $(call golang-version-check,1.15))
8+
$(eval $(call golang-version-check,1.17))
99

1010
all: test build release
1111

go.mod

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,45 @@
11
module github.com/Clever/microplane
22

3-
go 1.15
3+
go 1.17
44

55
require (
6-
github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c // indirect
76
github.com/facebookgo/errgroup v0.0.0-20160209021148-779c8d7ef069
8-
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
9-
github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 // indirect
107
github.com/fatih/color v1.13.0
118
github.com/google/go-github/v35 v35.3.0
12-
github.com/juju/testing v0.0.0-20210324180055-18c50b0c2098 // indirect
139
github.com/nathanleiby/diffparser v0.0.0-20180103231304-936553ce5db1
1410
github.com/spf13/cobra v1.3.0
1511
github.com/stretchr/testify v1.7.0
16-
github.com/waigani/diffparser v0.0.0-20190828052634-7391f219313d // indirect
1712
github.com/xanzy/go-gitlab v0.55.1
1813
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
1914
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
2015
)
16+
17+
require (
18+
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
19+
github.com/davecgh/go-spew v1.1.1 // indirect
20+
github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c // indirect
21+
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
22+
github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 // indirect
23+
github.com/golang/protobuf v1.5.2 // indirect
24+
github.com/google/go-querystring v1.1.0 // indirect
25+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
26+
github.com/hashicorp/go-retryablehttp v0.6.8 // indirect
27+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
28+
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect
29+
github.com/juju/testing v0.0.0-20210324180055-18c50b0c2098 // indirect
30+
github.com/mattn/go-colorable v0.1.12 // indirect
31+
github.com/mattn/go-isatty v0.0.14 // indirect
32+
github.com/pmezard/go-difflib v1.0.0 // indirect
33+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
34+
github.com/spf13/pflag v1.0.5 // indirect
35+
github.com/waigani/diffparser v0.0.0-20190828052634-7391f219313d // indirect
36+
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
37+
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
38+
golang.org/x/sys v0.0.0-20211205182925-97ca703d548d // indirect
39+
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
40+
google.golang.org/appengine v1.6.7 // indirect
41+
google.golang.org/protobuf v1.27.1 // indirect
42+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
43+
gopkg.in/yaml.v2 v2.4.0 // indirect
44+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
45+
)

0 commit comments

Comments
 (0)