Skip to content

Commit

Permalink
chore: support Go 1.22 (#9482)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Apr 16, 2024
1 parent 7f98453 commit 5544b02
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apidiff.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: Get changed directories
id: changed_dirs
# Ignore changes to the internal and root directories.
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: Install latest apidiff
run: go install golang.org/x/exp/cmd/apidiff@latest
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance.yaml
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
# Bigtable test proxy can be run on any of these Go versions
go: [ '1.19', '1.20', '1.21' ]
go: [ '1.19', '1.22']
folders: ['bigtable']
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new_client.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- name: Find new version files
id: versions
# Ignore changes to the internal and root directories.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/third_party_check.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- name: Find modified go.mod files
id: modfiles
run: |
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -31,6 +31,7 @@ For an updated list of all of our released APIs please see our
Our libraries are compatible with at least the three most recent, major Go
releases. They are currently compatible with:

- Go 1.22
- Go 1.21
- Go 1.20
- Go 1.19
Expand Down
2 changes: 1 addition & 1 deletion internal/gapicgen/cmd/genbot/Dockerfile
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine as godist
FROM golang:1.22-alpine as godist
RUN go version

FROM docker:25.0
Expand Down

0 comments on commit 5544b02

Please sign in to comment.