Use latest patch release of Go in releases

GitHub Actions has a cache of tools, like Go, and it does not update
this cache when a new version comes out. It can take more than a week
for a new version to be available.

This change forces the action to check if a newer version is available
than is in the cache.

Closes #31634

Signed-off-by: Matt Farina <matt.farina@suse.com>
Signed-off-by: MrJack <36191829+biagiopietro@users.noreply.github.com>
pull/31615/head
Matt Farina 3 weeks ago committed by MrJack
parent def85941f9
commit 9fde0317ed

@ -31,6 +31,7 @@ jobs:
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # pin@6.1.0
with:
go-version: '${{ env.GOLANG_VERSION }}'
check-latest: true
- name: Run unit tests
run: make test-coverage
- name: Build Helm Binaries

Loading…
Cancel
Save