Skip to content

Commit

Permalink
Update Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrandhorst committed Nov 9, 2024
1 parent 03050ac commit 1a94542
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.21.x, 1.22.x, 1.23.x]
go-version: [1.22.x, 1.23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -41,12 +41,12 @@ jobs:
./node_modules/.bin/gulp
generate:
container:
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.22
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.23
options: "--user root"
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# Required with newer versions of Git
Expand All @@ -59,12 +59,12 @@ jobs:
- run: git diff --exit-code
bazel:
container:
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.22
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.23
options: "--user root"
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: 1.22
go-version: 1.23
check-latest: true
- run: go run golang.org/x/exp/cmd/gorelease@latest -base=v2.23.0
proto_lint:
Expand All @@ -123,7 +123,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: 1.22
go-version: 1.23
check-latest: true
- uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
with:
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe

go_rules_dependencies()

go_register_toolchains(version = "1.21.13")
go_register_toolchains(version = "1.22.7")

http_archive(
name = "bazel_gazelle",
Expand Down
32 changes: 16 additions & 16 deletions repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def go_repositories():
go_repository(
name = "com_github_cncf_xds_go",
importpath = "github.com/cncf/xds/go",
sum = "h1:N+3sFI5GUjRKBi+i0TxYVST9h4Ie192jJWpHvthBBgg=",
version = "v0.0.0-20240723142845-024c85f92f20",
sum = "h1:QVw89YDxXxEe+l8gU8ETbOasdwEV+avkR75ZzsVV9WI=",
version = "v0.0.0-20240905190251-b4127c9b8d78",
)

go_repository(
Expand Down Expand Up @@ -306,8 +306,8 @@ def go_repositories():
go_repository(
name = "com_github_golang_protobuf",
importpath = "github.com/golang/protobuf",
sum = "h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4=",
version = "v1.5.0",
sum = "h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=",
version = "v1.5.4",
)

go_repository(
Expand Down Expand Up @@ -1693,8 +1693,8 @@ def go_repositories():
go_repository(
name = "dev_cel_expr",
importpath = "cel.dev/expr",
sum = "h1:yloc84fytn4zmJX2GU3TkXGsaieaV7dQ057Qs4sIG2Y=",
version = "v0.16.0",
sum = "h1:NR0+oFYzR1CqLFhTAqg3ql59G9VfN8fKq1TCHJ6gq1g=",
version = "v0.16.1",
)

go_repository(
Expand Down Expand Up @@ -1812,8 +1812,8 @@ def go_repositories():
go_repository(
name = "org_golang_google_grpc",
importpath = "google.golang.org/grpc",
sum = "h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=",
version = "v1.67.1",
sum = "h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0=",
version = "v1.68.0",
)

go_repository(
Expand All @@ -1831,8 +1831,8 @@ def go_repositories():
go_repository(
name = "org_golang_x_crypto",
importpath = "golang.org/x/crypto",
sum = "h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw=",
version = "v0.26.0",
sum = "h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A=",
version = "v0.27.0",
)
go_repository(
name = "org_golang_x_exp",
Expand Down Expand Up @@ -1869,8 +1869,8 @@ def go_repositories():
go_repository(
name = "org_golang_x_net",
importpath = "golang.org/x/net",
sum = "h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE=",
version = "v0.28.0",
sum = "h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo=",
version = "v0.29.0",
)
go_repository(
name = "org_golang_x_oauth2",
Expand All @@ -1887,14 +1887,14 @@ def go_repositories():
go_repository(
name = "org_golang_x_sys",
importpath = "golang.org/x/sys",
sum = "h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=",
version = "v0.24.0",
sum = "h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=",
version = "v0.25.0",
)
go_repository(
name = "org_golang_x_term",
importpath = "golang.org/x/term",
sum = "h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU=",
version = "v0.23.0",
sum = "h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM=",
version = "v0.24.0",
)
go_repository(
name = "org_golang_x_text",
Expand Down

0 comments on commit 1a94542

Please sign in to comment.