Skip to content

Commit e336ce9

Browse files
committed
use Go 1.25 + 1.26, pin CI to 1.25
Keeping with our policy of supporting the latest major Go release as well as the prior one, this upgrades the project to a minimum of Go 1.25 now that 1.26 has been released.
1 parent 96419bf commit e336ce9

11 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ jobs:
2929
matrix:
3030
include:
3131
# Run the latest Go version against all supported Postgres versions:
32-
- go-version: "1.25"
32+
- go-version: "1.26"
3333
postgres-version: 18
34-
- go-version: "1.25"
34+
- go-version: "1.26"
3535
postgres-version: 17
36-
- go-version: "1.25"
36+
- go-version: "1.26"
3737
postgres-version: 16
38-
- go-version: "1.25"
38+
- go-version: "1.26"
3939
postgres-version: 15
40-
- go-version: "1.25"
40+
- go-version: "1.26"
4141
postgres-version: 14
4242

4343
# Also run the previous Go version (the Go version previous to current
4444
# is the only other officially supported Go version) against the
4545
# latest Postgres version:
46-
- go-version: "1.24"
46+
- go-version: "1.25"
4747
postgres-version: 18
4848
fail-fast: false
4949
timeout-minutes: 5
@@ -262,7 +262,7 @@ jobs:
262262
steps:
263263
- uses: actions/setup-go@v5
264264
with:
265-
go-version: "stable"
265+
go-version: "1.25.7" # temporary until golangci-lint supports Go 1.26
266266
check-latest: true
267267

268268
- name: Checkout

cmd/river/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/cmd/river
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/jackc/pgx/v5 v5.8.0

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438

go.work

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
go 1.24.0
1+
go 1.25.0
22

3-
toolchain go1.25.2
3+
toolchain go1.25.7
44

55
use (
66
.

riverdriver/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/riverdriver
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/riverqueue/river/rivertype v0.30.2

riverdriver/riverdatabasesql/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/riverdriver/riverdatabasesql
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/jackc/pgx/v5 v5.8.0

riverdriver/riverdrivertest/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/riverdriver/riverdrivertest
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/davecgh/go-spew v1.1.1

riverdriver/riverpgxv5/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/riverdriver/riverpgxv5
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/jackc/pgx/v5 v5.8.0

riverdriver/riversqlite/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/riverdriver/riversqlite
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/riverqueue/river v0.30.2

rivershared/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/riverqueue/river/rivershared
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.25.2
5+
toolchain go1.25.7
66

77
require (
88
github.com/jackc/pgx/v5 v5.8.0

0 commit comments

Comments
 (0)