From 9661c89a8f89fb17aa8dfc4d6ce2bb361a51e9a8 Mon Sep 17 00:00:00 2001 From: David May <1301201+wass3r@users.noreply.github.com> Date: Fri, 7 Oct 2022 09:46:21 -0500 Subject: [PATCH] fix(actions): make sure to use latest Go version (#270) --- .github/workflows/reviewdog.yml | 2 ++ .github/workflows/schema.yml | 1 + .github/workflows/test.yml | 1 + .github/workflows/validate.yml | 1 + 4 files changed, 5 insertions(+) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 5aaa3840..de65e760 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -20,6 +20,7 @@ jobs: # use version from go.mod file go-version-file: 'go.mod' cache: true + check-latest: true - name: golangci-lint uses: reviewdog/action-golangci-lint@v2 @@ -43,6 +44,7 @@ jobs: # use version from go.mod file go-version-file: 'go.mod' cache: true + check-latest: true - name: golangci-lint uses: reviewdog/action-golangci-lint@v2 diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 1615aeab..89df1dfb 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -21,6 +21,7 @@ jobs: # use version from go.mod file go-version-file: 'go.mod' cache: true + check-latest: true - name: build run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58867b95..41ba449f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,7 @@ jobs: # use version from go.mod file go-version-file: 'go.mod' cache: true + check-latest: true - name: test run: | diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 36b892fd..a5157b49 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,6 +22,7 @@ jobs: # use version from go.mod file go-version-file: 'go.mod' cache: true + check-latest: true - name: validate run: |