Skip to content

Commit ffe7272

Browse files
authored
Update Go version to v1.16 (#54)
* Update Go version * Update Go versions on the pipeline's Docker images
1 parent 8642293 commit ffe7272

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
version: 2
22
jobs:
3-
build-go1.14:
3+
build-go1.15:
44
docker:
5-
- image: circleci/golang:1.14
5+
- image: circleci/golang:1.15
66
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
77
steps:
88
- checkout
99
- run: go test -v -race ./...
1010
- run: go build -race cmd/gopherapi/main.go
11-
build-go1.15:
11+
build-go1.16:
1212
docker:
13-
- image: circleci/golang:1.15
13+
- image: circleci/golang:1.16
1414
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
1515
steps:
1616
- checkout
@@ -28,6 +28,6 @@ workflows:
2828
version: 2
2929
build_and_test:
3030
jobs:
31-
- build-go1.14
3231
- build-go1.15
32+
- build-go1.16
3333
- build-go_latest

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ require (
1414
github.com/stretchr/testify v1.7.0
1515
)
1616

17-
go 1.15
17+
go 1.16

0 commit comments

Comments
 (0)