Skip to content

Commit

Permalink
all: update to go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
vangent committed Aug 9, 2023
1 parent dee61a5 commit 6f78b86
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
# When updating this, make sure to also update the
# latest_go_version variable in internal/testing/runchecks.sh.
go-version: [1.20.x]
go-version: [1.21.x]
include:
- go-version: 1.19.x
- go-version: 1.20.x
os: ubuntu-latest

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion docstore/mongodocstore/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/docstore/mongodocstore

go 1.19
go 1.20

require (
github.com/google/go-cmp v0.5.9
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev

go 1.19
go 1.20

require (
cloud.google.com/go/compute/metadata v0.2.3
Expand Down
2 changes: 1 addition & 1 deletion internal/testing/runchecks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rootdir="$(pwd)"
# new Go version. Some checks below we only run
# for the latest Go version.
latest_go_version=0
if [[ $(go version) == *go1\.20* ]]; then
if [[ $(go version) == *go1\.21* ]]; then
latest_go_version=1
fi

Expand Down
2 changes: 1 addition & 1 deletion internal/website/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module gocloud.dev/internal/website

go 1.19
go 1.20

require (
github.com/google/go-cmp v0.5.6
Expand Down
2 changes: 1 addition & 1 deletion pubsub/kafkapubsub/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/pubsub/kafkapubsub

go 1.19
go 1.20

require (
github.com/Shopify/sarama v1.38.1
Expand Down
2 changes: 1 addition & 1 deletion pubsub/natspubsub/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/pubsub/natspubsub

go 1.19
go 1.20

require (
github.com/google/go-cmp v0.5.9
Expand Down
2 changes: 1 addition & 1 deletion pubsub/rabbitpubsub/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/pubsub/rabbitpubsub

go 1.19
go 1.20

require (
github.com/rabbitmq/amqp091-go v1.8.1
Expand Down
2 changes: 1 addition & 1 deletion runtimevar/etcdvar/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/runtimevar/etcdvar

go 1.19
go 1.20

require (
github.com/google/go-cmp v0.5.9
Expand Down
2 changes: 1 addition & 1 deletion samples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/samples

go 1.19
go 1.20

require (
contrib.go.opencensus.io/exporter/stackdriver v0.13.14
Expand Down
2 changes: 1 addition & 1 deletion secrets/hashivault/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module gocloud.dev/secrets/hashivault

go 1.19
go 1.20

require (
github.com/hashicorp/vault/api v1.9.2
Expand Down

0 comments on commit 6f78b86

Please sign in to comment.