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: 构建验证