From 87242247b3835277e001dc9b22d80e458fb192e9 Mon Sep 17 00:00:00 2001 From: ForestL18 <45709305+ForestL18@users.noreply.github.com> Date: Thu, 26 Dec 2024 15:52:04 +0800 Subject: [PATCH] chore:Use latest go version --- .github/workflows/build-debug.yaml | 7 ++++--- .github/workflows/build-pre-release.yaml | 1 + .github/workflows/build-release.yaml | 1 + .github/workflows/update-dependencies.yaml | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml index da1ebc5c..71689f5e 100644 --- a/.github/workflows/build-debug.yaml +++ b/.github/workflows/build-debug.yaml @@ -3,9 +3,9 @@ on: pull_request: types: [opened, reopened, synchronize] workflow_dispatch: - push: - branches: - - main + #push: + # branches: + # - main jobs: BuildDebug: @@ -30,6 +30,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.23" + check-latest: true - uses: actions/cache@v4 with: diff --git a/.github/workflows/build-pre-release.yaml b/.github/workflows/build-pre-release.yaml index 8e8c8886..85beb2fb 100644 --- a/.github/workflows/build-pre-release.yaml +++ b/.github/workflows/build-pre-release.yaml @@ -29,6 +29,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.23" + check-latest: true - uses: actions/cache@v4 with: diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 16c98a45..5d773321 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -32,6 +32,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.23" + check-latest: true - uses: actions/cache@v4 with: diff --git a/.github/workflows/update-dependencies.yaml b/.github/workflows/update-dependencies.yaml index 476489f6..f1ace50a 100644 --- a/.github/workflows/update-dependencies.yaml +++ b/.github/workflows/update-dependencies.yaml @@ -25,6 +25,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.23" + check-latest: true - uses: actions/cache@v4 with: