Skip to content

Commit d88b012

Browse files
update to use go1.24 --------- Co-authored-by: wxiaoguang <[email protected]>
1 parent fba365b commit d88b012

7 files changed

+11
-11
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM docker.io/library/golang:1.23-alpine3.21 AS build-env
2+
FROM docker.io/library/golang:1.24-alpine3.21 AS build-env
33

44
ARG GOPROXY
55
ENV GOPROXY=${GOPROXY:-direct}

Dockerfile.rootless

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM docker.io/library/golang:1.23-alpine3.21 AS build-env
2+
FROM docker.io/library/golang:1.24-alpine3.21 AS build-env
33

44
ARG GOPROXY
55
ENV GOPROXY=${GOPROXY:-direct}

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SHASUM ?= shasum -a 256
2323
HAS_GO := $(shell hash $(GO) > /dev/null 2>&1 && echo yes)
2424
COMMA := ,
2525

26-
XGO_VERSION := go-1.23.x
26+
XGO_VERSION := go-1.24.x
2727

2828
AIR_PACKAGE ?= github.com/air-verse/air@v1
2929
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/[email protected]

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
poetry
3030

3131
# backend
32-
go_1_23
32+
go_1_24
3333
gofumpt
3434
sqlite
3535
];
3636
shellHook = ''
37-
export GO="${pkgs.go_1_23}/bin/go"
38-
export GOROOT="${pkgs.go_1_23}/share/go"
37+
export GO="${pkgs.go_1_24}/bin/go"
38+
export GOROOT="${pkgs.go_1_24}/share/go"
3939
'';
4040
};
4141
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module code.gitea.io/gitea
22

3-
go 1.23
3+
go 1.24
44

55
// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
66
// But some CAs use negative serial number, just relax the check. related:

snap/snapcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ parts:
4444
source: .
4545
stage-packages: [ git, sqlite3, openssh-client ]
4646
build-packages: [ git, libpam0g-dev, libsqlite3-dev, build-essential]
47-
build-snaps: [ go/1.23/stable, node/22/stable ]
47+
build-snaps: [ go/1.24/stable, node/22/stable ]
4848
build-environment:
4949
- LDFLAGS: ""
5050
override-pull: |

0 commit comments

Comments
 (0)