1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/hack/go-lint.sh
2026-01-20 10:55:15 +08:00

10 lines
370 B
Bash
Executable File

#!/bin/sh
# Example: ./hack/go-lint.sh installer/... pkg/... tests/smoke
podman run --rm \
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/github.com/openshift/installer:z" \
--workdir /go/src/github.com/openshift/installer \
docker.io/golangci/golangci-lint:v2.3.1 \
golangci-lint run -c .golangci-lint-v2.yaml -v --new-from-rev=dcf8122 "${@}"