Skip to content

Commit e10fbd2

Browse files
feat: add support for Go 1.24 and drop Go 1.22 (#942)
Go 1.22 is EOL: https://endoflife.date/go Go 1.24 was just released
1 parent a2db086 commit e10fbd2

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"constraints": {
3-
"go": "1.22",
3+
"go": "1.23",
44
},
55
"extends": [
66
"config:recommended"

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Go
4848
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
4949
with:
50-
go-version: "1.23"
50+
go-version: "1.24"
5151
if: ${{ matrix.language == 'go' }}
5252

5353
# Initializes the CodeQL tools for scanning.

.github/workflows/cover.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Go
2727
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2828
with:
29-
go-version: "1.23"
29+
go-version: "1.24"
3030

3131
- name: Checkout base branch
3232
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/govulncheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Go
3636
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
3737
with:
38-
go-version: "1.23"
38+
go-version: "1.24"
3939
check-latest: true
4040
- id: govulncheck
4141
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Go
3333
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
3434
with:
35-
go-version: "1.23"
35+
go-version: "1.24"
3636
- name: go mod tidy
3737
run: |
3838
go mod tidy && git diff --exit-code

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup Go
4949
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
5050
with:
51-
go-version: "1.23"
51+
go-version: "1.24"
5252

5353
- id: auth
5454
name: Authenticate to Google Cloud
@@ -143,7 +143,7 @@ jobs:
143143
strategy:
144144
matrix:
145145
goarch: ["", "386"]
146-
go-version: ["1.22", "1.23"]
146+
go-version: ["1.23", "1.24"]
147147
fail-fast: false
148148
permissions:
149149
contents: read

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module cloud.google.com/go/cloudsqlconn
22

3-
go 1.22.7
3+
go 1.23
44

5-
toolchain go1.22.11
5+
toolchain go1.23.6
66

77
require (
88
cloud.google.com/go/auth v0.14.1

0 commit comments

Comments
 (0)