update go version to 1.18

This commit is contained in:
octeep 2022-05-20 12:21:41 +01:00 committed by octeep
parent cafcdcd566
commit e686381fa9
9 changed files with 41 additions and 66 deletions

View file

@ -16,7 +16,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Windows amd64 Version
run: |
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o WireProxy_amd64.exe -v ./cmd/wireproxy
@ -36,7 +36,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Windows arm64 Version
run: |
CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o WireProxy_arm64.exe -v ./cmd/wireproxy
@ -56,7 +56,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Linux amd64 Version
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
@ -76,7 +76,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Linux arm64 Version
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy
@ -96,7 +96,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Linux s390x Version
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build -o WireProxy_s390x -v ./cmd/wireproxy
@ -116,7 +116,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Darwin amd64 Version
run: |
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o WireProxy_amd64 -v ./cmd/wireproxy
@ -136,7 +136,7 @@ jobs:
- name: Setting up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Building Darwin arm64 Version
run: |
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o WireProxy_arm64 -v ./cmd/wireproxy

View file

@ -30,7 +30,7 @@ jobs:
- name: Set up GoReleaser
uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2