mirror of
https://github.com/containers/podman.git
synced 2026-01-23 13:28:38 -05:00
This could have been done by simply running GOOS=freebsd ./bin/golangci-lint run [options] ./... on Linux, but some freebsd code is using cgo (i.e. is linked to C libraries), so real freebsd environment is required. This also fixes the issue of ignoring linter errors for Windows and Darwin (exit 0), introduced by commitc9b108d5b3. Fixes:c9b108d5b3("Bump golangci-lint to v2.0.2") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>