.cirrus.yml: do not run golangci-lint for freebsd and mac

Since PR 28760 linting is done for all OSes on linux, so there's no need
to run golangci-lint on Mac and FreeBSD separately. This also fixes the
issue of mixing up golangci-lint caches between different Mac OS X runs.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit c22f67e729)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Kir Kolyshkin 2026-05-26 14:23:48 -07:00 • committed by Paul Holzinger
parent 91943724ea
commit 862c5c8470
No known key found for this signature in database
GPG key ID: EB145DD938A3CAF2

View file

@ -341,17 +341,11 @@ freebsd_alt_build_task:
ALT_NAME: 'FreeBSD Cross'
freebsd_instance:
image_family: freebsd-14-3
# golangci-lint is a very, very hungry beast.
cpu: 4
memory: 8Gb
setup_script:
- pkg install -y gpgme bash go-md2man gmake gsed gnugrep go pkgconf zstd
- go version # Downloads a new go version based on go.mod's go directive.
golint_cache:
folder: ~/.cache/golangci-lint
fingerprint_script: *golangci_cache_fingerprint
lint_script:
- gmake golangci-lint
build_amd64_script:
- gmake podman-release
# This task cannot make use of the shared repo.tar.zst artifact and must