Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: bump go to 1.24.4 (#16807)

h3n4lb4444e5234cc
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index 6b1a725fb7..4c06a5fe5d 100644
--- a/.github/workflows/backend-tests.yml
+++ b/.github/workflows/backend-tests.yml
@@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: '1.24.3'
+ go-version: '1.24.4'
cache: false # Caching is slow.
- name: Verify go.mod is tidy
run: |
diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml
index 27196e1525..c62242b894 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: '1.24.3'
+ go-version: '1.24.4'
cache: false # Caching is slow.
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
diff --git a/.github/workflows/test_link.yml b/.github/workflows/test_link.yml
index 4799f43f22..fbd0a6d13e 100644
--- a/.github/workflows/test_link.yml
+++ b/.github/workflows/test_link.yml
@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: '1.24.3'
+ go-version: '1.24.4'
cache: false # Caching is slow.
- name: Validate links
run: go test -timeout 600s -v ./scripts/... | tee test.log; exit ${PIPESTATUS[0]}
diff --git a/go.mod b/go.mod
index 91e6939cef..a79efad5f1 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/bytebase/bytebase
-go 1.24.2
+go 1.24.4
// workaround mssql-docker default TLS cert negative serial number problem
// https://github.com/microsoft/mssql-docker/issues/895
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 06ff37b830..44172a6a19 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -10,7 +10,7 @@ COPY . .
RUN pnpm --dir ./frontend i
RUN pnpm --dir ./frontend release-docker
-FROM golang:1.24.3-alpine3.21 AS backend
+FROM golang:1.24.4-alpine3.21 AS backend
ARG VERSION
ARG GIT_COMMIT
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.action b/scripts/Dockerfile.action
index 3d0dde073b..a634716bf5 100644
--- a/scripts/Dockerfile.action
+++ b/scripts/Dockerfile.action
@@ -1,4 +1,4 @@
-FROM golang:1.24.3-alpine3.21 AS builder
+FROM golang:1.24.4-alpine3.21 AS builder
ARG VERSION
ARG GIT_COMMIT
WORKDIR /action-build
diff --git a/scripts/Dockerfile.action-debian b/scripts/Dockerfile.action-debian
index eaf0628048..3aea59789c 100644
--- a/scripts/Dockerfile.action-debian
+++ b/scripts/Dockerfile.action-debian
@@ -1,4 +1,4 @@
-FROM golang:1.24.3-bookworm AS builder
+FROM golang:1.24.4-bookworm AS builder
ARG VERSION
ARG GIT_COMMIT
WORKDIR /action-build
diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.aws
index 2e7c5054ef..1f00775a83 100644
--- a/scripts/Dockerfile.aws
+++ b/scripts/Dockerfile.aws
@@ -10,7 +10,7 @@ COPY . .
RUN pnpm --dir ./frontend i
RUN pnpm --dir ./frontend release-aws
-FROM golang:1.24.3-alpine3.21 AS backend
+FROM golang:1.24.4-alpine3.21 AS backend
ARG VERSION
ARG GIT_COMMIT
ARG RELEASE="release"
diff --git a/scripts/build_init.sh b/scripts/build_init.sh
index 9bcf38f5b5..6857ca0220 100644
--- a/scripts/build_init.sh
+++ b/scripts/build_init.sh
@@ -30,7 +30,7 @@ mkdir_output() {
}
# Go and node version checks.
-TARGET_GO_VERSION="1.24.2"
+TARGET_GO_VERSION="1.24.4"
GO_VERSION=`go version | { read _ _ v _; echo ${v#go}; }`
if [ "$(version ${GO_VERSION})" -lt "$(version $TARGET_GO_VERSION)" ];
then