Skip to content

Commit 0e63331

Browse files
committed
support go 1.19
1 parent bc77be0 commit 0e63331

File tree

5 files changed

+22
-972
lines changed

5 files changed

+22
-972
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setting up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.18
19+
go-version: 1.19
2020
- name: Building Windows amd64 Version
2121
run: |
2222
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o WireProxy_amd64.exe -v ./cmd/wireproxy
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setting up Go
3737
uses: actions/setup-go@v2
3838
with:
39-
go-version: 1.18
39+
go-version: 1.19
4040
- name: Building Windows arm64 Version
4141
run: |
4242
CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o WireProxy_arm64.exe -v ./cmd/wireproxy
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setting up Go
5757
uses: actions/setup-go@v2
5858
with:
59-
go-version: 1.18
59+
go-version: 1.19
6060
- name: Building Linux amd64 Version
6161
run: |
6262
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setting up Go
7777
uses: actions/setup-go@v2
7878
with:
79-
go-version: 1.18
79+
go-version: 1.19
8080
- name: Building Linux arm64 Version
8181
run: |
8282
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setting up Go
9797
uses: actions/setup-go@v2
9898
with:
99-
go-version: 1.18
99+
go-version: 1.19
100100
- name: Building Linux s390x Version
101101
run: |
102102
CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build -o WireProxy_s390x -v ./cmd/wireproxy
@@ -116,7 +116,7 @@ jobs:
116116
- name: Setting up Go
117117
uses: actions/setup-go@v2
118118
with:
119-
go-version: 1.18
119+
go-version: 1.19
120120
- name: Building Darwin amd64 Version
121121
run: |
122122
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
@@ -136,7 +136,7 @@ jobs:
136136
- name: Setting up Go
137137
uses: actions/setup-go@v2
138138
with:
139-
go-version: 1.18
139+
go-version: 1.19
140140
- name: Building Darwin arm64 Version
141141
run: |
142142
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
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/setup-go@v2
1717
with:
18-
go-version: '1.18.5'
18+
go-version: '1.19'
1919
- uses: actions/checkout@v3
2020
- name: golangci-lint
2121
uses: golangci/golangci-lint-action@v3

.github/workflows/wireproxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up GoReleaser
3131
uses: actions/setup-go@v2
3232
with:
33-
go-version: "1.18"
33+
go-version: "1.19"
3434

3535
- name: Run GoReleaser
3636
uses: goreleaser/goreleaser-action@v2

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ require (
77
github.com/akamensky/argparse v1.3.1
88
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
99
github.com/go-ini/ini v1.66.4
10-
golang.zx2c4.com/wireguard v0.0.0-20220316235147-5aff28b14c24
11-
golang.zx2c4.com/wireguard/tun/netstack v0.0.0-20220703234212-c31a7b1ab478
10+
golang.zx2c4.com/wireguard v0.0.0-20220829161405-d1d08426b27b
1211
suah.dev/protect v1.2.0
1312
)
1413

1514
require (
1615
github.com/google/btree v1.0.1 // indirect
16+
github.com/stretchr/testify v1.8.0 // indirect
1717
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect
1818
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
1919
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect
2020
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
2121
golang.zx2c4.com/wintun v0.0.0-20211104114900-415007cec224 // indirect
22-
gvisor.dev/gvisor v0.0.0-20211020211948-f76a604701b6 // indirect
22+
gvisor.dev/gvisor v0.0.0-20220817001344-846276b3dbc5 // indirect
2323
)

0 commit comments

Comments
 (0)