Skip to content

Commit

Permalink
set check-latest of setup-go to true
Browse files Browse the repository at this point in the history
setup-go refers existent cache first even though new Go version is released.
  • Loading branch information
lufia committed Mar 7, 2024
1 parent 4ff6e7b commit 4fa42e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/setup-go-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
cache: true
check-latest: true
- run: ${{ inputs.run }}
shell: bash

0 comments on commit 4fa42e6

Please sign in to comment.