1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/hack/go-vet.sh
2025-07-29 23:10:04 -04:00

12 lines
296 B
Bash
Executable File

#!/bin/sh
if [ "$IS_CONTAINER" != "" ]; then
go vet "${@}"
else
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/golang:1.24 \
./hack/go-vet.sh "${@}"
fi;