Skip to content

Commit 4c23415

Browse files
committed
ci: Update Go version to 1.26 in all workflows and trigger releases on push tags.
1 parent 0470c14 commit 4c23415

4 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setting up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: "1.21"
20+
go-version: "1.26"
2121
- name: Building Windows amd64 Version
2222
run: |
2323
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o WireProxy_amd64.exe -v ./cmd/wireproxy
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setting up Go
3838
uses: actions/setup-go@v5
3939
with:
40-
go-version: "1.21"
40+
go-version: "1.26"
4141
- name: Building Windows arm64 Version
4242
run: |
4343
CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o WireProxy_arm64.exe -v ./cmd/wireproxy
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setting up Go
5858
uses: actions/setup-go@v5
5959
with:
60-
go-version: "1.21"
60+
go-version: "1.26"
6161
- name: Building Linux amd64 Version
6262
run: |
6363
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
@@ -77,7 +77,7 @@ jobs:
7777
- name: Setting up Go
7878
uses: actions/setup-go@v5
7979
with:
80-
go-version: "1.21"
80+
go-version: "1.26"
8181
- name: Building Linux arm64 Version
8282
run: |
8383
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy
@@ -97,7 +97,7 @@ jobs:
9797
- name: Setting up Go
9898
uses: actions/setup-go@v5
9999
with:
100-
go-version: "1.21"
100+
go-version: "1.26"
101101
- name: Building Linux s390x Version
102102
run: |
103103
CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build -o WireProxy_s390x -v ./cmd/wireproxy
@@ -117,7 +117,7 @@ jobs:
117117
- name: Setting up Go
118118
uses: actions/setup-go@v5
119119
with:
120-
go-version: "1.21"
120+
go-version: "1.26"
121121
- name: Building Darwin amd64 Version
122122
run: |
123123
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
@@ -137,7 +137,7 @@ jobs:
137137
- name: Setting up Go
138138
uses: actions/setup-go@v5
139139
with:
140-
go-version: "1.21"
140+
go-version: "1.26"
141141
- name: Building Darwin arm64 Version
142142
run: |
143143
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.21'
20+
go-version: '1.26'
2121
- uses: actions/checkout@v4
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v4

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setting up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: "1.21"
20+
go-version: "1.26"
2121
- name: Install dependencies
2222
run: sudo apt install wireguard curl
2323
- name: Building wireproxy

.github/workflows/wireproxy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: Cross compile WireProxy
33
on:
44
workflow_dispatch:
55
create:
6-
tags:
7-
- v*
6+
push:
7+
tags:
8+
- "v*"
89

910
jobs:
1011
WireProxy:
@@ -30,7 +31,7 @@ jobs:
3031
- name: Set up GoReleaser
3132
uses: actions/setup-go@v5
3233
with:
33-
go-version: "1.21"
34+
go-version: "1.26"
3435

3536
- name: Run GoReleaser
3637
uses: goreleaser/goreleaser-action@v5

0 commit comments

Comments
 (0)