From 4fa42e68a20080a00b1a7abac76e9097027edeb1 Mon Sep 17 00:00:00 2001 From: lufia Date: Thu, 7 Mar 2024 14:43:07 +0900 Subject: [PATCH] set check-latest of setup-go to true setup-go refers existent cache first even though new Go version is released. --- .github/workflows/go-lint.yml | 1 + .github/workflows/go-test.yml | 1 + .github/workflows/goreleaser.yml | 1 + .github/workflows/setup-go-matrix.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index 08d21dc..23d90ec 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -28,6 +28,7 @@ jobs: with: go-version-file: go.mod cache: true + check-latest: true - uses: golangci/golangci-lint-action@v4 with: version: latest diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 0e25017..9c93d18 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -34,6 +34,7 @@ jobs: with: go-version: ${{ matrix.go-version }} cache: true + check-latest: true - run: ${{ inputs.pre }} shell: bash - run: go test -race -covermode=atomic -coverprofile=prof.out ./... diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 9e564fb..8fa20a1 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,6 +19,7 @@ jobs: with: go-version: ${{ inputs.go-version }} cache: true + check-latest: true - uses: goreleaser/goreleaser-action@v5 with: args: release --rm-dist diff --git a/.github/workflows/setup-go-matrix.yml b/.github/workflows/setup-go-matrix.yml index 742f3f0..1a49adb 100644 --- a/.github/workflows/setup-go-matrix.yml +++ b/.github/workflows/setup-go-matrix.yml @@ -34,5 +34,6 @@ jobs: with: go-version: ${{ matrix.go-version }} cache: true + check-latest: true - run: ${{ inputs.run }} shell: bash