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>
pull/31636/head
Matt Farina 4 months ago
parent 894e1f3cb4
commit 8f636b5bd2
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -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