1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 01:27:01 +00:00

chore: bump go to 1.25 (#585)

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2025-11-22 10:41:48 -08:00
committed by GitHub
parent 577a329240
commit fe0e3a00e1
4 changed files with 6 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: go:
- '1.24' - '1.25'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@@ -44,7 +44,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.24' go-version: '1.25'
- name: Build - name: Build
run: go build ./... run: go build ./...
- name: Test - name: Test

View File

@@ -12,7 +12,7 @@ RUN yarn install --frozen-lockfile --non-interactive
RUN yarn run build RUN yarn run build
### Build backend ### 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 RUN apk add --no-cache --virtual .build-deps g++ git make
WORKDIR /build WORKDIR /build
COPY . . COPY . .
@@ -23,7 +23,7 @@ RUN go build -o inbucket \
-v ./cmd/inbucket -v ./cmd/inbucket
### Run in minimal image ### Run in minimal image
FROM alpine:3.21 FROM alpine:3.22
RUN apk --no-cache add tzdata RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket WORKDIR /opt/inbucket
RUN mkdir bin defaults ui RUN mkdir bin defaults ui

4
go.mod
View File

@@ -1,8 +1,6 @@
module github.com/inbucket/inbucket/v3 module github.com/inbucket/inbucket/v3
go 1.23.0 go 1.25.0
toolchain go1.24.2
require ( require (
github.com/cjoudrey/gluahttp v0.0.0-20201111170219-25003d9adfa9 github.com/cjoudrey/gluahttp v0.0.0-20201111170219-25003d9adfa9

View File

@@ -24,7 +24,7 @@ pkgs.mkShell {
elmPackages.elm-json elmPackages.elm-json
elmPackages.elm-language-server elmPackages.elm-language-server
elmPackages.elm-test elmPackages.elm-test
go_1_24 go_1_25
golangci-lint golangci-lint
golint golint
gopls gopls