Skip to content

Commit 6bd2713

Browse files
feat: upgrade all components to go 1.25 (#1289)
<!-- Important: Before developing new features, please open an issue to discuss your ideas with the maintainers. This ensures project alignment and helps avoid unnecessary work for you. Thank you for your contribution! Please provide a detailed description below and ensure you've met all the requirements. Squashed commit messages must follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard to facilitate changelog generation. Please ensure your PR title follows the Conventional Commits specification, using the appropriate type (e.g., feat, fix, docs) and scope. Examples of good PR titles: - 💥feat!: change implementation in an non-backward compatible way - ✨feat(auth): add support for OAuth2 login - 🐞fix(router): add support for custom metrics - 📚docs(README): update installation instructions - 🧹chore(deps): bump dependencies to latest versions --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Chores - Raised minimum Go version to 1.25 across all modules for consistency and modern toolchain support. - Tests - Updated CI to run against Go 1.25. - Upgraded checkout and setup actions to latest major versions for improved reliability. - Enhanced linting by updating the linter action and linter version, aligning with current best practices. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Checklist - [ ] I have discussed my proposed changes in an issue and have received approval to proceed. - [ ] I have followed the coding standards of the project. - [ ] Tests or benchmarks have been added or updated. <!-- Please add any additional information or context regarding your changes here. --> --------- Co-authored-by: spetrunin <neyasut@gmail.com>
1 parent 02cda50 commit 6bd2713

File tree

8 files changed

+25
-18
lines changed

8 files changed

+25
-18
lines changed

.github/workflows/execution.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
matrix:
23-
go: [ '1.23' ]
23+
go: [ "1.25" ]
2424
os: [ubuntu-latest, windows-latest]
2525
steps:
2626
- name: Set git to use LF
@@ -45,18 +45,21 @@ jobs:
4545
lint:
4646
name: Linters
4747
runs-on: ubuntu-latest
48+
strategy:
49+
matrix:
50+
go: [ "1.25" ]
4851
steps:
4952
- name: Check out code into the Go module directory
50-
uses: actions/checkout@v3
51-
- name: Set up Go 1.23
52-
uses: actions/setup-go@v4
53+
uses: actions/checkout@v4
54+
- name: Set up Go ${{ matrix.go }}
55+
uses: actions/setup-go@v5
5356
with:
54-
go-version: 1.23
57+
go-version: ^${{ matrix.go }}
5558
- name: Run linters
5659
uses: golangci/golangci-lint-action@v8.0.0
5760
with:
5861
working-directory: execution
59-
version: v2.3.1
62+
version: v2.4.0
6063
args: --timeout=3m
6164
ci:
6265
name: CI Success

.github/workflows/v2.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
2626
matrix:
27-
go: [ '1.23' ]
27+
go: [ "1.25" ]
2828
os: [ubuntu-latest, windows-latest]
2929
steps:
3030
- name: Set git to use LF
@@ -49,18 +49,21 @@ jobs:
4949
lint:
5050
name: Linters
5151
runs-on: ubuntu-latest
52+
strategy:
53+
matrix:
54+
go: [ "1.25" ]
5255
steps:
5356
- name: Check out code into the Go module directory
54-
uses: actions/checkout@v3
55-
- name: Set up Go 1.23
56-
uses: actions/setup-go@v4
57+
uses: actions/checkout@v4
58+
- name: Set up Go ${{ matrix.go }}
59+
uses: actions/setup-go@v5
5760
with:
58-
go-version: 1.23
61+
go-version: ^${{ matrix.go }}
5962
- name: Run linters
6063
uses: golangci/golangci-lint-action@v8.0.0
6164
with:
6265
working-directory: v2
63-
version: v2.3.1
66+
version: v2.4.0
6467
args: --timeout=3m
6568
ci:
6669
name: CI Success

examples/federation/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/graphql-go-tools/examples/federation
22

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
github.com/99designs/gqlgen v0.17.45

examples/federation/go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWN
127127
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
128128
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
129129
github.com/sebdah/goldie/v2 v2.7.1 h1:PkBHymaYdtvEkZV7TmyqKxdmn5/Vcj+8TpATWZjnG5E=
130+
github.com/sebdah/goldie/v2 v2.7.1/go.mod h1:oZ9fp0+se1eapSRjfYbsV/0Hqhbuu3bJVvKI/NNtssI=
130131
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
131132
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
132133
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=

execution/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/graphql-go-tools/execution
22

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
github.com/99designs/gqlgen v0.17.45

go.mod

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

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
github.com/99designs/gqlgen v0.17.45

go.work

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

3-
toolchain go1.23.3
3+
toolchain go1.25
44

55
use (
66
// v1

v2/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/graphql-go-tools/v2
22

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
github.com/99designs/gqlgen v0.17.45

0 commit comments

Comments
 (0)