restructuring logic and adding more inputs #2

Merged
jake merged 12 commits from cleanup into main 2026-04-03 20:09:13 +00:00
2 changed files with 0 additions and 5 deletions
Showing only changes of commit 46528033ed - Show all commits

View File

@@ -8,8 +8,6 @@ if [[ ! -n "$version" ]]; then
exit 1;
fi
echo "[DEBUG] $version found in install.sh";
go install golang.org/x/vuln/cmd/govulncheck@latest
go install github.com/securego/gosec/v2/cmd/gosec@latest

View File

@@ -8,10 +8,7 @@ if [[ "$STATIC_FLAG" == "no" && "$VULN_CHECK" == "no" ]]; then
fi
toolchain=$(go mod edit -json go.mod | jq -r ".Toolchain // empty");
echo "[DEBUG] $toolchain found in go.mod";
version=$(go env -json | jq -r ".GOVERSION // empty");
echo "[DEBUG] $version found in go env";
if [[ -n "$toolchain" ]]; then
echo "[DEBUG] overwriting version with toolchain";