mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-08 00:57:21 +00:00
22 lines
365 B
Bash
Executable File
22 lines
365 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2020-2024 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="-json -test"
|
|
|
|
if [[ -n "${BUILD_TAGS:-}" ]]; then
|
|
OPTS="${OPTS} -tags ${BUILD_TAGS}"
|
|
fi
|
|
|
|
OPTS="${OPTS} ./..."
|
|
|
|
govulncheck ${OPTS}
|