Skip to content

Commit de0b4a2

Browse files
authored
use Go v1.25 and 1.26 (#508)
* use Go v1.25 and 1.26 Continue our policy of supporting the latest Go major release and the previous one. * use golangci-lint v2.9.0, actions v9
1 parent 7996c0a commit de0b4a2

6 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
strategy:
2020
matrix:
2121
go-version:
22-
- "1.24"
2322
- "1.25"
23+
- "1.26"
2424
postgres-version: [18, 17, 16]
2525
fail-fast: false
2626
timeout-minutes: 5
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/checkout@v4
4444

4545
- name: Setup Go ${{ matrix.go-version }}
46-
uses: actions/setup-go@v5
46+
uses: actions/setup-go@v6
4747
with:
4848
go-version: ${{ matrix.go-version }}
4949

@@ -90,7 +90,7 @@ jobs:
9090
name: Go lint
9191
runs-on: ubuntu-latest
9292
env:
93-
GOLANGCI_LINT_VERSION: v2.7.2
93+
GOLANGCI_LINT_VERSION: v2.9.0
9494
GOPROXY: https://proxy.golang.org,https://u:${{ secrets.RIVERPRO_GO_MOD_CREDENTIAL }}@riverqueue.com/goproxy,direct
9595
permissions:
9696
contents: read
@@ -101,7 +101,7 @@ jobs:
101101
- name: Checkout repository
102102
uses: actions/checkout@v4
103103

104-
- uses: actions/setup-go@v5
104+
- uses: actions/setup-go@v6
105105
with:
106106
check-latest: true
107107
go-version-file: "./go.mod"
@@ -112,7 +112,7 @@ jobs:
112112
run: make fake_assets
113113

114114
- name: Lint
115-
uses: golangci/golangci-lint-action@v7
115+
uses: golangci/golangci-lint-action@v9
116116
with:
117117
# golangci-lint needs to be run separately for every Go module, and
118118
# its GitHub Action doesn't provide any way to do that. Have it fetch
@@ -221,7 +221,7 @@ jobs:
221221
uses: actions/checkout@v4
222222

223223
- name: Setup Go
224-
uses: actions/setup-go@v5
224+
uses: actions/setup-go@v6
225225
with:
226226
check-latest: true
227227
go-version-file: "go.mod"

.github/workflows/package-and-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: npm exec vite build -- --sourcemap false
7171

7272
- name: Setup Go
73-
uses: actions/setup-go@v5
73+
uses: actions/setup-go@v6
7474
with:
7575
check-latest: true
7676
go-version-file: "packager/go.mod"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Upgrade supported Go versions to 1.25 and 1.26, and update CI accordingly. [PR #508](https://github.com/riverqueue/riverui/pull/508).
13+
1014
### Fixed
1115

1216
- Prevent double slash in URLs for root path prefix. Thanks [Jan Kott](https://github.com/boostvolt)! [PR #487](https://github.com/riverqueue/riverui/pull/487).

go.mod

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

3-
go 1.24.0
3+
go 1.25.0
44

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

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

packager/go.mod

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

3-
go 1.24.0
3+
go 1.25.0
44

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

77
require golang.org/x/mod v0.33.0

riverproui/go.mod

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

3-
go 1.24.0
3+
go 1.25.0
44

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

77
require (
88
github.com/google/uuid v1.6.0

0 commit comments

Comments
 (0)