Skip to content

Commit a9c2d6c

Browse files
authored
Merge pull request #77 from oasisprotocol/ptrus/feature/go-1.25
Bump go to 1.25
2 parents 9c740d8 + 6b1763d commit a9c2d6c

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

.changelog/77.feature.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump Go to version 1.25

.github/workflows/ci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ jobs:
6565
- name: Set up Go
6666
uses: actions/setup-go@v5
6767
with:
68-
go-version: "1.24.x"
68+
go-version: "1.25.x"
6969
# Always run this step so that all linting errors can be seen at once.
7070
if: always()
7171

7272
- name: Lint Go
7373
uses: golangci/golangci-lint-action@v8
7474
with:
75-
version: v2.1.6
75+
version: v2.4.0
7676
# Always run this step so that all linting errors can be seen at once.
7777
if: always()

.github/workflows/ci-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Go
4040
uses: actions/setup-go@v5
4141
with:
42-
go-version: "1.24.x"
42+
go-version: "1.25.x"
4343

4444
- name: Build Go
4545
run: |
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Ensure dependencies are tidied up
5353
run: |
54-
go mod tidy -v -x -compat=1.24 # goreleaser does the same; can find lingering issues
54+
go mod tidy -v -x -compat=1.25 # goreleaser does the same; can find lingering issues
5555
echo TIDY RESULTS START; git diff || true; echo TIDY RESULTS END
5656
5757
# - name: Upload to codecov.io
@@ -69,7 +69,7 @@ jobs:
6969
- name: Set up Go
7070
uses: actions/setup-go@v5
7171
with:
72-
go-version: "1.24.x"
72+
go-version: "1.25.x"
7373

7474
- name: Set up Docker Buildx
7575
uses: docker/setup-buildx-action@v3

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: "1.24.x"
24+
go-version: "1.25.x"
2525

2626
- name: Install Go tools
2727
run: go install github.com/oapi-codegen/oapi-codegen/v2/cmd/[email protected]

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project_name: Rofl App Backend
33

44
before:
55
hooks:
6-
- go mod tidy -compat=1.24
6+
- go mod tidy -compat=1.25
77

88
builds:
99
- binary: rofl-app-backend

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM golang:1.24-bookworm AS builder
2+
FROM golang:1.25-bookworm AS builder
33
WORKDIR /app
44

55
ARG OASIS_CLI_VERSION=0.15.2
@@ -30,7 +30,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
3030
go build -o rofl-app ./
3131

3232
# Runner.
33-
FROM golang:1.24-bookworm AS app
33+
FROM golang:1.25-bookworm AS app
3434

3535
# Install minimal runtime dependencies
3636
RUN apt-get update -qq && \

go.mod

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

3-
go 1.24.4
3+
go 1.25
44

55
require (
66
cloud.google.com/go/storage v1.56.1

0 commit comments

Comments
 (0)