Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ jobs:
strategy:
matrix:
goos: [windows, linux, darwin]
goarch: [amd64, 386, arm64]
buildtarget: ['go1.24.6']
exclude:
-
goos: darwin
goarch: 386
goarch: [amd64, arm64]
buildtarget: ['go1.25.0']
fail-fast: false
env:
GOOS: ${{ matrix.goos }}
Expand All @@ -46,15 +42,14 @@ jobs:
repository: 'golang/go'
ref: ${{ matrix.buildtarget }}

# Patches for Go 1.24.x before more minor changes introduces.
# Patches for Go 1.25.x before more minor changes introduces.
- name: Apply patch
run: |
curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/raw/refs/heads/build/unified-1-24-patch.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/f429f15f6305e4432afd7309b317e903bd76a5c0.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/41f545de980e9285b68ece40d4b4e63feef9c5a1.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/b6c99a977f732ee5553ddc75ae0fe3b47927fc1c.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/36d7775e030192d3bf2dc111d1f6cfa89eae5f0c.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/a3e4d4735a5d89f60b907308b556c5a53614914d.diff | patch --verbose -p 1
curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/raw/refs/heads/build/unified-1-25-patch.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/830f1acfc984be44520621b001096845ebf40c7a.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/b5e4a6d5b3d0b076414d04cc3d6002f816bc0c25.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/949393bde276adbeaf41688f086feb23e24abe88.diff | patch --verbose -p 1
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/fc29c4ae1cd53d6761d4324c4625cc8a149c55d3.diff | patch --verbose -p 1

- name: Set-up Go
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go1_22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build patched Go 1.22 for tests
on:
workflow_dispatch:
#schedule:
#- cron: '0 0 * * 4,6'
#- cron: '0 0 * * 6'
push:
branches:
- build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-go1_23.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build patched Go 1.23 for tests

on:
workflow_dispatch:
schedule:
- cron: '10 0 * * 4,6'
#schedule:
#- cron: '0 0 * * 6'
push:
branches:
- build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go1_24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build patched Go 1.24 for tests
on:
workflow_dispatch:
schedule:
- cron: '20 0 * * 4,6'
- cron: '10 0 * * 6'
push:
branches:
- build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-go1_25.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build patched Go 1.25 for tests
on:
workflow_dispatch:
schedule:
- cron: '30 0 * * 4,6'
- cron: '20 0 * * 6'
push:
branches:
- build
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Set-up Go
uses: actions/setup-go@v5
with:
#go-version-file: 'src/go.mod'
go-version-file: 'src/go.mod'
check-latest: true

- name: Build patched Go
Expand Down
Loading