From 25ebaf4e7b507ffc7cabdb2a560348af5bec4ac3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 19 Apr 2022 21:43:30 +0200 Subject: [PATCH] ci: always grab latest go version (#1124) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Casey Lee --- .github/workflows/checks.yml | 3 +++ .github/workflows/release.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 241faea..1c3c144 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} + check-latest: true - uses: golangci/golangci-lint-action@v3.1.0 with: version: latest @@ -41,6 +42,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} + check-latest: true - uses: actions/cache@v3 if: ${{ !env.ACT }} with: @@ -63,6 +65,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} + check-latest: true - uses: actions/cache@v3 if: ${{ !env.ACT }} with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f8c63a..ae62a0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} + check-latest: true - uses: actions/cache@v3 if: ${{ !env.ACT }} with: