From bd974d95815a3dd714a0fd5b180727e346ecb506 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Fri, 28 Jun 2024 02:30:11 +0800 Subject: [PATCH] ci: fix setup-go version Signed-off-by: Zxilly --- .github/workflows/built-tests.yml | 4 ++-- .github/workflows/release.yml | 2 +- go.mod | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/built-tests.yml b/.github/workflows/built-tests.yml index e13730121b..aed6e249fb 100644 --- a/.github/workflows/built-tests.yml +++ b/.github/workflows/built-tests.yml @@ -30,7 +30,7 @@ jobs: - name: Setup Go uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: - go-version-file: "go.mod" + go-version: '1.23-rc.1' cache: true check-latest: true @@ -84,7 +84,7 @@ jobs: - name: Setup Go uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: - go-version-file: "go.mod" + go-version: '1.23-rc.1' cache: true check-latest: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30710e0495..29ad834d7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Setup Go uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: - go-version-file: "go.mod" + go-version: '1.23-rc.1' cache: true check-latest: true diff --git a/go.mod b/go.mod index bb66618689..dbd211f638 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/Zxilly/go-size-analyzer -go 1.23rc1 +go 1.23 + +toolchain go1.23rc1 require ( github.com/ZxillyFork/gore v0.0.0-20240622181243-e08af164b21c