Skip to content

Commit 9737b26

Browse files
committed
feat: upgrade all components to go 1.25
1 parent 6375c4b commit 9737b26

File tree

33 files changed

+41
-38
lines changed

33 files changed

+41
-38
lines changed

.github/actions/go-linter/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ runs:
1818
- name: Run staticcheck linter
1919
uses: dominikh/staticcheck-action@v1.3.1
2020
with:
21-
version: 2024.1.1
21+
version: 2025.1.1
2222
install-go: false
2323
working-directory: ${{ inputs.working-directory }}

.github/actions/go/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'This action install go and cache modules and build dependencies'
33
inputs:
44
go-version:
55
description: 'The go version to install'
6-
default: '1.23'
6+
default: '1.25'
77
required: false
88
cache-dependency-path:
99
description: 'The path to the dependency to cache'

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following sections provide a guide on how to contribute to the WunderGraph C
1010
This guide assumes you have already installed the following software:
1111

1212
- make (should be installed on all linux / IOS systems)
13-
- [golang](https://go.dev/dl/) `>= 1.18`
13+
- [golang](https://go.dev/dl/) `>= 1.25`
1414
- [pnpm](https://pnpm.io/installation) >= 9
1515
- Node.js [LTS](https://nodejs.org/en/about/releases/). You can also pnpm to [install](https://pnpm.io/cli/env) Node.js.
1616
- [docker desktop](https://docs.docker.com/desktop/) (includes: engine, buildkit & compose) **or**:
@@ -44,7 +44,7 @@ According to best practices, we don't commit the `go.work` or `go.work.sum` file
4444
### Example
4545

4646
```
47-
go 1.23
47+
go 1.25
4848
4949
use (
5050
./demo
@@ -87,7 +87,7 @@ We merge all pull requests in `squash merge` mode. You're not enforced to use [c
8787
- [Docker Compose V2](https://docs.docker.com/compose/install/)
8888
- [NodeJS LTS](https://nodejs.org/en/download/)
8989
- [PNPM 8+](https://pnpm.io/installation)
90-
- [Go 1.23+](https://golang.org/doc/install)
90+
- [Go 1.25+](https://golang.org/doc/install)
9191
- [wgc](https://www.npmjs.com/package/wgc)
9292
- .env/.env.local (see below)
9393

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ setup-build-tools:
44
go install github.com/bufbuild/buf/cmd/buf@v1.32.2
55
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2
66
go install connectrpc.com/connect/cmd/protoc-gen-connect-go@v1.16.2
7-
go install gotest.tools/gotestsum@v1.12.2
7+
go install gotest.tools/gotestsum@v1.12.3
88

99
setup-dev-tools: setup-build-tools
1010
go install github.com/amacneil/dbmate/v2@v2.6.0
11-
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
11+
go install honnef.co/go/tools/cmd/staticcheck@2025.1.1
1212
go install github.com/yannh/kubeconform/cmd/kubeconform@v0.6.3
1313
go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.11.3
1414
go install github.com/vektra/mockery/v3@v3.3.1

adr/custom-modules-v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ Every custom router has its own `go.mod` file which represents in Go a module. T
662662

663663
module github.com/myorg/myrouter
664664

665-
go 1.23
665+
go 1.25
666666

667667
require (
668668
"github.com/wundergraph/cosmo/router v0.93.0

aws-lambda-router/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/cosmo/aws-lambda-router
22

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
github.com/akrylysov/algnhsa v1.1.0

cli/src/commands/router/commands/plugin/templates/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const goMod = `
77
module {modulePath}
88
9-
go 1.24.1
9+
go 1.25.1
1010
1111
require (
1212
github.com/stretchr/testify v1.10.0
@@ -402,7 +402,7 @@ generated/service.proto
402402
bin/
403403
`;
404404

405-
const dockerfile = `FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS builder
405+
const dockerfile = `FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS builder
406406
407407
# Multi-platform build arguments
408408
ARG TARGETOS

composition-go/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/cosmo/composition-go
22

3-
go 1.23
3+
go 1.25
44

55
require (
66
github.com/dop251/goja v0.0.0-20230906160731-9410bcaa81d2

connect-go/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/cosmo/connect-go
22

3-
go 1.23
3+
go 1.25
44

55
require (
66
connectrpc.com/connect v1.17.0

demo/docker/availability.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23 as builder
1+
FROM golang:1.25 as builder
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)