validate: disable golangci-lint cache

Something with the cache is not working right and results in
inconsistent lint result.

Even on PRs where there are no source code changes we observe random
failures. I have seen at least 4 different instances since we the new CI
setup. It is not reasonable to spot fix each new warning (mostly just
adding new nolint comments) each time as it affects all PRs at once.
It will also be very confusing for new contributors.

Fixes: #28893

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
(cherry picked from commit c8ce2c6089)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2026-06-16 18:58:46 +02:00
parent c5b9ab76e2
commit c8c7a3cdcd

View File

@@ -99,6 +99,7 @@ jobs:
with:
version: ${{ steps.gv.outputs.version }}
install-only: true
skip-cache: true # cache causes flaky results https://github.com/podman-container-tools/podman/issues/28893
- name: Install pre-commit
run: pipx install pre-commit