mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-19 06:31:47 +00:00
22 lines
359 B
Bash
Executable File
22 lines
359 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2020-2026 the Pinniped contributors. All Rights Reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -euo pipefail
|
|
|
|
go version
|
|
go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
|
|
cd pinniped
|
|
|
|
OPTS="-test"
|
|
|
|
if [[ -n "${BUILD_TAGS:-}" ]]; then
|
|
OPTS="${OPTS} -tags ${BUILD_TAGS}"
|
|
fi
|
|
|
|
OPTS="${OPTS} ./..."
|
|
|
|
govulncheck ${OPTS}
|