Skip to content

Commit

Permalink
support go 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
pufferffish committed Sep 1, 2022
1 parent bc77be0 commit 0e63331
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 972 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Windows amd64 Version
run: |
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o WireProxy_amd64.exe -v ./cmd/wireproxy
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Windows arm64 Version
run: |
CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o WireProxy_arm64.exe -v ./cmd/wireproxy
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Linux amd64 Version
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Linux arm64 Version
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Linux s390x Version
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build -o WireProxy_s390x -v ./cmd/wireproxy
Expand All @@ -116,7 +116,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Darwin amd64 Version
run: |
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
Expand All @@ -136,7 +136,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Building Darwin arm64 Version
run: |
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.18.5'
go-version: '1.19'
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
2 changes: 1 addition & 1 deletion .github/workflows/wireproxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up GoReleaser
uses: actions/setup-go@v2
with:
go-version: "1.18"
go-version: "1.19"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ require (
github.com/akamensky/argparse v1.3.1
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
github.com/go-ini/ini v1.66.4
golang.zx2c4.com/wireguard v0.0.0-20220316235147-5aff28b14c24
golang.zx2c4.com/wireguard/tun/netstack v0.0.0-20220703234212-c31a7b1ab478
golang.zx2c4.com/wireguard v0.0.0-20220829161405-d1d08426b27b
suah.dev/protect v1.2.0
)

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

0 comments on commit 0e63331

Please sign in to comment.