Skip to content

Commit

Permalink
Support go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Jan 13, 2022
1 parent b5389a9 commit c4fa858
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
linter:
working_directory: /go/src/github.com/gaia-pipeline/gaia
docker:
- image: circleci/golang:1.16
- image: circleci/golang:1.17
environment:
GO111MODULE: "on"
steps:
Expand All @@ -20,7 +20,7 @@ jobs:
test_and_coverage:
working_directory: /go/src/github.com/gaia-pipeline/gaia
docker:
- image: circleci/golang:1.16
- image: circleci/golang:1.17
environment:
GO111MODULE: "on"
steps:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
compile:
working_directory: /go/src/github.com/gaia-pipeline/gaia
docker:
- image: circleci/golang:1.16
- image: circleci/golang:1.17
environment:
GO111MODULE: "on"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/images/primary/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
&& rm -rf /var/lib/apt/lists/*

ENV GOLANG_VERSION 1.16
ENV GOLANG_VERSION 1.17

RUN set -eux; \
\
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
&& rm -rf /var/lib/apt/lists/*

ENV GOLANG_VERSION 1.16
ENV GOLANG_VERSION 1.17

RUN set -eux; \
\
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.golang
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine
FROM golang:1.17-alpine

# Version and other variables which can be changed.
ENV GAIA_PORT=8080 \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ require (
gopkg.in/yaml.v2 v2.4.0
)

go 1.16
go 1.17

replace github.com/swaggo/swag => github.com/swaggo/swag v1.6.10-0.20201104153820-3f47d68f8872

Expand Down

0 comments on commit c4fa858

Please sign in to comment.