mirror of
https://github.com/containers/podman.git
synced 2025-12-01 02:27:13 +08:00
ci: run golangci-lint on freebsd
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>
This commit is contained in:
7
pkg/machine/e2e/config_freebsd_test.go
Normal file
7
pkg/machine/e2e/config_freebsd_test.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package e2e_test
|
||||
|
||||
const podmanBinary = "../../../bin/podman-remote"
|
||||
|
||||
func getOtherProvider() string {
|
||||
return ""
|
||||
}
|
||||
Reference in New Issue
Block a user