Skip to content

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

chore: upgrade Go from 1.25.0 to 1.25.1 (#17352)

Danny Xuf27e8145d405
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index 226a55ddf6..cef335d114 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.25.0'
+ go-version: '1.25.1'
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 5359e50192..73b099af89 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.25.0'
+ go-version: '1.25.1'
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 76f8abdd47..66ca94c8bd 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.25.0'
+ go-version: '1.25.1'
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 a2db1bc8e6..2f467ca193 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/bytebase/bytebase
-go 1.25.0
+go 1.25.1
// 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 ce9cbc767e..7d854fa68f 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.25.0-alpine3.21 AS backend
+FROM golang:1.25.1-alpine3.21 AS backend
ARG VERSION
ARG GIT_COMMIT
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.action b/scripts/Dockerfile.action
index 020bfcc4ab..e1c894c8d8 100644
--- a/scripts/Dockerfile.action
+++ b/scripts/Dockerfile.action
@@ -1,4 +1,4 @@
-FROM golang:1.25.0-alpine3.21 AS builder
+FROM golang:1.25.1-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 302b695fae..a50f6a70c7 100644
--- a/scripts/Dockerfile.action-debian
+++ b/scripts/Dockerfile.action-debian
@@ -1,4 +1,4 @@
-FROM golang:1.25.0-bookworm AS builder
+FROM golang:1.25.1-bookworm AS builder
ARG VERSION
ARG GIT_COMMIT
WORKDIR /action-build
diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.aws
index 4aea28cd6c..5370c53462 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.25.0-alpine3.21 AS backend
+FROM golang:1.25.1-alpine3.21 AS backend
ARG VERSION
ARG GIT_COMMIT
ARG RELEASE="release"