From 4b79cb7a1807f822e96ca11df65500622a55d987 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Fri, 12 Jun 2026 11:41:49 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=8D=87=E7=BA=A7=20CI=20Go=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=88=B0=201.25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- .github/workflows/test-build.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6562fbd..e7b8dc7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: uses: ./.github/actions/build-release with: mode: ${{ inputs.snapshot && 'snapshot' || 'release' }} - go-version: '1.20' + go-version: '1.25' retention-days: '90' release-args: ${{ inputs.draft && '--draft' || '' }} diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index b31f5a0..578928b 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -54,7 +54,7 @@ jobs: - name: 设置 Go 环境 uses: actions/setup-go@v5 with: - go-version: '1.23' + go-version: '1.25' cache: true - name: 运行 golangci-lint @@ -114,7 +114,7 @@ jobs: - name: 设置 Go 环境 uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.25' cache: true - name: 下载依赖 @@ -181,7 +181,7 @@ jobs: - name: 设置 Go 环境 uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.25' cache: true - name: 构建验证