Skip to content

Commit ce83d3f

Browse files
kyleconroyclaude
andauthored
Upgrade Go version to 1.26.0 (#4312)
Update Go version references across the project: - go.mod: 1.24.7 -> 1.26.0 - CI workflows (ci.yml, build.yml): 1.25.0 -> 1.26.0 - Language CI workflows (python, kotlin, typescript): 1.24.1 -> 1.26.0 - CLAUDE.md: Update prerequisite and CI documentation - Dockerfile was already at 1.26.0 https://claude.ai/code/session_016tGVCbKHnM72NpNcKjBhui Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0a3d50e commit ce83d3f

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v6
1313
- uses: actions/setup-go@v6
1414
with:
15-
go-version: '1.25.0'
15+
go-version: '1.26.0'
1616
- name: install ./...
1717
run: go build ./...
1818
env:

.github/workflows/ci-kotlin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v6
1414
- uses: actions/setup-go@v6
1515
with:
16-
go-version: '1.24.1'
16+
go-version: '1.26.0'
1717
- name: install ./...
1818
run: go install ./...
1919
- uses: actions/checkout@v6

.github/workflows/ci-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v6
1414
- uses: actions/setup-go@v6
1515
with:
16-
go-version: '1.24.1'
16+
go-version: '1.26.0'
1717
- name: install ./...
1818
run: go install ./...
1919
- uses: actions/checkout@v6

.github/workflows/ci-typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v6
1414
- uses: actions/setup-go@v6
1515
with:
16-
go-version: '1.24.1'
16+
go-version: '1.26.0'
1717
- name: install ./...
1818
run: go install ./...
1919
- uses: actions/checkout@v6

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v6
1717
- uses: actions/setup-go@v6
1818
with:
19-
go-version: '1.25.0'
19+
go-version: '1.26.0'
2020
- run: go build ./...
2121
env:
2222
CGO_ENABLED: "0"
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v6
2929
- uses: actions/setup-go@v6
3030
with:
31-
go-version: '1.25.0'
31+
go-version: '1.26.0'
3232

3333
- name: install gotestsum
3434
run: go install gotest.tools/gotestsum@latest

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document provides essential information for working with the sqlc codebase,
66

77
### Prerequisites
88

9-
- **Go 1.25.0+** - Required for building and testing
9+
- **Go 1.26.0+** - Required for building and testing
1010
- **Docker & Docker Compose** - Required for integration tests with databases (local development)
1111
- **Git** - For version control
1212

@@ -147,7 +147,7 @@ make start # Start database containers
147147
### GitHub Actions Workflow
148148

149149
- **File:** `.github/workflows/ci.yml`
150-
- **Go Version:** 1.25.0
150+
- **Go Version:** 1.26.0
151151
- **Database Setup:** Uses `sqlc-test-setup` (not Docker) to install and start PostgreSQL and MySQL directly on the runner
152152
- **Test Command:** `gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./...`
153153
- **Additional Checks:** `govulncheck` for vulnerability scanning

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/sqlc-dev/sqlc
22

3-
go 1.24.7
3+
go 1.26.0
44

55
require (
66
github.com/antlr4-go/antlr/v4 v4.13.1

0 commit comments

Comments
 (0)