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

     1  #!/bin/sh
     2  if [ "$IS_CONTAINER" != "" ]; then
     3    go vet "${@}"
     4  else
     5    podman run --rm \
     6      --env IS_CONTAINER=TRUE \
     7      --volume "${PWD}:/go/src/github.com/openshift/installer:z" \
     8      --workdir /go/src/github.com/openshift/installer \
     9      docker.io/golang:1.22 \
    10      ./hack/go-vet.sh "${@}"
    11  fi;