github.com/openshift/installer@v1.4.17/hack/go-lint.sh (about)

     1  #!/bin/sh
     2  # Example:  ./hack/go-lint.sh installer/... pkg/... tests/smoke
     3  
     4  podman run --rm \
     5      --env IS_CONTAINER=TRUE \
     6      --volume "${PWD}:/go/src/github.com/openshift/installer:z" \
     7      --workdir /go/src/github.com/openshift/installer \
     8      docker.io/golangci/golangci-lint:v1.59.0 \
     9      golangci-lint run --new-from-rev=dcf8122 "${@}"