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