Update Go to 1.26.11

This commit is contained in:
世界
2026-11-27 19:43:28 +08:00
parent d016839c00
commit 1070f8f500
13 changed files with 179 additions and 49 deletions
+23 -15
View File
@@ -54,7 +54,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache/restore@v4
@@ -145,7 +145,7 @@ jobs:
if: ${{ ! matrix.legacy_win7 }}
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache/restore@v4
@@ -160,7 +160,7 @@ jobs:
with:
path: |
~/go/go_win7
key: go_win7_1274
key: go_win7_12611
- name: Setup Go for Windows 7
if: matrix.legacy_win7 && steps.cache-go-for-windows7.outputs.cache-hit != 'true'
env:
@@ -490,7 +490,7 @@ jobs:
if: ${{ ! matrix.legacy_osx }}
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache/restore@v4
@@ -505,7 +505,7 @@ jobs:
with:
path: |
~/go/go_osx
key: go_osx_1274
key: go_osx_12611
- name: Setup Go for macOS 10.13
if: matrix.legacy_osx && steps.cache-go-for-macos1013.outputs.cache-hit != 'true'
env:
@@ -589,8 +589,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Patch Go for Windows ARM64
if: matrix.arch == 'arm64'
shell: bash
run: .github/patch_go_for_windows_arm64.sh
- name: Cache Go modules
uses: actions/cache@v4
with:
@@ -692,7 +696,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache@v4
@@ -756,7 +760,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache/restore@v4
@@ -864,7 +868,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache/restore@v4
@@ -977,8 +981,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Patch Go for Windows ARM64
if: matrix.desktop_arch == 'arm64'
shell: bash
run: .github/patch_go_for_windows_arm64.sh
- name: Cache Go modules
uses: actions/cache@v4
with:
@@ -1089,7 +1097,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
uses: actions/cache@v4
@@ -1263,7 +1271,7 @@ jobs:
if: matrix.build
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Patch Go for iOS
if: matrix.build && (matrix.platform == 'ios/arm64' || matrix.platform == 'tvos/arm64')
@@ -1280,8 +1288,8 @@ jobs:
uses: actions/cache@v4
with:
path: ~/Library/Caches/go-build
key: libbox-go-build-${{ matrix.artifact }}-1.27.4-${{ hashFiles('go.sum') }}
restore-keys: libbox-go-build-${{ matrix.artifact }}-1.27.4-
key: libbox-go-build-${{ matrix.artifact }}-1.26.11-${{ hashFiles('go.sum') }}
restore-keys: libbox-go-build-${{ matrix.artifact }}-1.26.11-
- name: Set tag
if: matrix.build
run: git tag v${{ needs.calculate_version.outputs.version }} -f
@@ -1350,7 +1358,7 @@ jobs:
if: matrix.if
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
cache: false
- name: Cache Go modules
if: matrix.if
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
- name: Clone cronet-go
if: matrix.naive
run: |
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ^1.27
go-version: ^1.26
- name: Cache go module
uses: actions/cache@v4
with:
+2 -2
View File
@@ -29,7 +29,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
- name: Check input version
if: github.event_name == 'workflow_dispatch'
run: |-
@@ -72,7 +72,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.27.4
go-version: 1.26.11
- name: Clone cronet-go
if: matrix.naive
run: |
+1 -1
View File
@@ -33,8 +33,8 @@ jobs:
- windows-latest
- macos-latest
go:
- ~1.25
- ~1.26
- ~1.27
runs-on: ${{ matrix.os }}
steps:
- name: Checkout