upgrade to go v1.20

This commit is contained in:
MHSanaei 2023-02-12 11:19:43 +03:30
parent 3343fb4a0d
commit 9b85ec26f1
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: build linux amd64 version
run: |
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o xui-release -v main.go
@ -69,7 +69,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: build linux arm64 version
run: |
sudo apt-get update
@ -111,7 +111,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: build linux s390x version
run: |
sudo apt-get update

2
go.mod
View File

@ -1,6 +1,6 @@
module x-ui
go 1.19
go 1.20
require (
github.com/BurntSushi/toml v1.2.1