From fe0e3a00e14ad06e59404921d1a88883d66ca4a9 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Sat, 22 Nov 2025 10:41:48 -0800 Subject: [PATCH] chore: bump go to 1.25 (#585) Signed-off-by: James Hillyerd --- .github/workflows/build-and-test.yml | 4 ++-- Dockerfile | 4 ++-- go.mod | 4 +--- shell.nix | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 70e3ffd..2124e24 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: go: - - '1.24' + - '1.25' steps: - uses: actions/checkout@v4 with: @@ -44,7 +44,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24' + go-version: '1.25' - name: Build run: go build ./... - name: Test diff --git a/Dockerfile b/Dockerfile index c86b466..fb4d3cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN yarn install --frozen-lockfile --non-interactive RUN yarn run build ### Build backend -FROM golang:1.24-alpine3.21 AS backend +FROM golang:1.25-alpine3.22 AS backend RUN apk add --no-cache --virtual .build-deps g++ git make WORKDIR /build COPY . . @@ -23,7 +23,7 @@ RUN go build -o inbucket \ -v ./cmd/inbucket ### Run in minimal image -FROM alpine:3.21 +FROM alpine:3.22 RUN apk --no-cache add tzdata WORKDIR /opt/inbucket RUN mkdir bin defaults ui diff --git a/go.mod b/go.mod index 93998f0..fb85d3a 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/inbucket/inbucket/v3 -go 1.23.0 - -toolchain go1.24.2 +go 1.25.0 require ( github.com/cjoudrey/gluahttp v0.0.0-20201111170219-25003d9adfa9 diff --git a/shell.nix b/shell.nix index 7af7495..6f61847 100644 --- a/shell.nix +++ b/shell.nix @@ -24,7 +24,7 @@ pkgs.mkShell { elmPackages.elm-json elmPackages.elm-language-server elmPackages.elm-test - go_1_24 + go_1_25 golangci-lint golint gopls