diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42aba2cfc3..1f37c668c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - name: Set up go uses: actions/setup-go@v3 with: - go-version: 1.21.9 + go-version: 1.20.14 - name: Build run: go build ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89223027d2..342a881bd5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up go uses: actions/setup-go@v3 with: - go-version: 1.21.9 + go-version: 1.20.14 - name: Build run: bash hack/github-release.sh diff --git a/go.mod b/go.mod index e08e13f1dc..2491b41754 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ucloud/ucloud-cli -go 1.21 +go 1.20 require ( github.com/fatih/color v1.13.0