Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: upgrade Go from 1.24.5 to 1.25.0 (#17325)
Danny Xufdd278db68f1
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.ymlindex ad0ef96352..226a55ddf6 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@v5with:- go-version: '1.24.5'+ go-version: '1.25.0'cache: false # Caching is slow.- name: Verify go.mod is tidyrun: |diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.ymlindex a17a274cd2..5359e50192 100644--- a/.github/workflows/golangci-lint.yml+++ b/.github/workflows/golangci-lint.yml@@ -24,10 +24,10 @@ jobs:- uses: actions/checkout@v4- uses: actions/setup-go@v5with:- go-version: '1.24.5'+ go-version: '1.25.0'cache: false # Caching is slow.- name: golangci-lintuses: golangci/golangci-lint-action@v8with:- version: v2.3.0+ version: v2.4.0args: --verbose -j 8 --timeout 30m --max-same-issues=30 --allow-parallel-runners\ No newline at end of filediff --git a/.github/workflows/test_link.yml b/.github/workflows/test_link.ymlindex 628498afe5..76f8abdd47 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@v5with:- go-version: '1.24.5'+ go-version: '1.25.0'cache: false # Caching is slow.- name: Validate linksrun: go test -timeout 600s -v ./scripts/... | tee test.log; exit ${PIPESTATUS[0]}diff --git a/go.mod b/go.modindex ea23c3d8b3..a2db1bc8e6 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/bytebase/bytebase-go 1.24.5+go 1.25.0// workaround mssql-docker default TLS cert negative serial number problem// https://github.com/microsoft/mssql-docker/issues/895diff --git a/scripts/Dockerfile b/scripts/Dockerfileindex 3fb79d6749..ce9cbc767e 100644--- a/scripts/Dockerfile+++ b/scripts/Dockerfile@@ -10,7 +10,7 @@ COPY . .RUN pnpm --dir ./frontend iRUN pnpm --dir ./frontend release-docker-FROM golang:1.24.5-alpine3.21 AS backend+FROM golang:1.25.0-alpine3.21 AS backendARG VERSIONARG GIT_COMMITARG RELEASE="release"diff --git a/scripts/Dockerfile.action b/scripts/Dockerfile.actionindex 9524143662..020bfcc4ab 100644--- a/scripts/Dockerfile.action+++ b/scripts/Dockerfile.action@@ -1,4 +1,4 @@-FROM golang:1.24.5-alpine3.21 AS builder+FROM golang:1.25.0-alpine3.21 AS builderARG VERSIONARG GIT_COMMITWORKDIR /action-builddiff --git a/scripts/Dockerfile.action-debian b/scripts/Dockerfile.action-debianindex fc26faa6b6..302b695fae 100644--- a/scripts/Dockerfile.action-debian+++ b/scripts/Dockerfile.action-debian@@ -1,4 +1,4 @@-FROM golang:1.24.5-bookworm AS builder+FROM golang:1.25.0-bookworm AS builderARG VERSIONARG GIT_COMMITWORKDIR /action-builddiff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.awsindex ce471c1d61..4aea28cd6c 100644--- a/scripts/Dockerfile.aws+++ b/scripts/Dockerfile.aws@@ -10,7 +10,7 @@ COPY . .RUN pnpm --dir ./frontend iRUN pnpm --dir ./frontend release-aws-FROM golang:1.24.5-alpine3.21 AS backend+FROM golang:1.25.0-alpine3.21 AS backendARG VERSIONARG GIT_COMMITARG RELEASE="release"