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>
(cherry picked from commit 8f636b5bd2)
(cherry picked from commit 930ba6fc13)
release-3.19 v3.19.4
Matt Farina 2 weeks ago
parent 59c951f309
commit 7cfb6e486d
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

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

Loading…
Cancel
Save