Skip to content

Commit

Permalink
Update go version to 1.20 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinaleonr authored Aug 28, 2023
1 parent 211cbc6 commit 83ea852
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ linters-settings:
gocyclo:
min-complexity: 15
gofumpt:
lang-version: 1.19
lang-version: 1.20
gosec:
excludes:
- G306 # Expect WriteFile permissions to be 0600 or less
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.19
- 1.20

before_install:
- go install -v github.com/mattn/goveralls@latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS build
FROM golang:1.20 AS build
# VERSION should be specified via the --build-arg flag as a branch,
# a tag, or a short git commit.
ARG VERSION=unspecified
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module github.com/m-lab/jostler

go 1.19
go 1.20

require (
cloud.google.com/go v0.104.0
cloud.google.com/go/bigquery v1.43.0
cloud.google.com/go/storage v1.27.0
github.com/googleapis/google-cloud-go-testing v0.0.0-20191008195207-8e1d251e947d
Expand All @@ -13,7 +14,6 @@ require (
)

require (
cloud.google.com/go v0.104.0 // indirect
cloud.google.com/go/compute v1.10.0 // indirect
cloud.google.com/go/iam v0.5.0 // indirect
github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/m-lab/go v0.1.64 h1:8PpCUBlSH59YWQleXxIVZNlmz0lS8hzJWtCiOHNJcdI=
github.com/m-lab/go v0.1.64/go.mod h1:O1D/EoVarJ8lZt9foANcqcKtwxHatBzUxXFFyC87aQQ=
github.com/m-lab/go v0.1.66 h1:adDJILqKBCkd5YeVhCrrjWkjoNRtDzlDr6uizWu5/pE=
github.com/m-lab/go v0.1.66/go.mod h1:O1D/EoVarJ8lZt9foANcqcKtwxHatBzUxXFFyC87aQQ=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
Expand Down

0 comments on commit 83ea852

Please sign in to comment.