From 9b85ec26f12ed61b064db3f3543309d7af0326f0 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 12 Feb 2023 11:19:43 +0330 Subject: [PATCH] upgrade to go v1.20 --- .github/workflows/release.yml | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db2c6cbc..46ed5faa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/go.mod b/go.mod index b5f2eb90..0a6f61d7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module x-ui -go 1.19 +go 1.20 require ( github.com/BurntSushi/toml v1.2.1