Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump golang version to 1.20 #537

Merged
merged 2 commits into from
Jun 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.19
go-version: 1.20
- name: Check out source code
uses: actions/checkout@v1
- run: echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN make build_ui
######################################
# Prepare go_builder
######################################
FROM golang:1.19-alpine3.17 as go_builder
FROM golang:1.20-alpine as go_builder
WORKDIR /go/src/github.com/openflagr/flagr

RUN apk add --no-cache git make build-base
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ start:
gen: api_docs swagger

deps:
@go install github.com/go-swagger/go-swagger/cmd/swagger@v0.30.4
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1
@go install github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3

serve_docs:
@npm install -g docsify-cli@4
Expand Down
2 changes: 1 addition & 1 deletion docs/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ docker run -it -p 18000:18000 ghcr.io/openflagr/flagr

Install Dependencies.

- Go (1.19+)
- Go (1.20+)
- Make (for Makefile)
- NPM (for building UI)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openflagr/flagr

go 1.19
go 1.20

require (
cloud.google.com/go v0.108.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/Dockerfile-Integration-Test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17 as go_builder
FROM golang:1.20-alpine as go_builder
WORKDIR /go/src/github.com/openflagr/flagr
RUN apk add --no-cache git make build-base
ADD . .
Expand Down
5 changes: 5 additions & 0 deletions swagger_gen/models/eval_debug_log.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions swagger_gen/models/eval_result.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions swagger_gen/models/evaluation_batch_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions swagger_gen/models/evaluation_batch_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions swagger_gen/models/flag.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions swagger_gen/models/flag_snapshot.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions swagger_gen/models/put_distributions_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions swagger_gen/models/segment.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion swagger_gen/restapi/operations/flagr_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.