diff --git a/action.yml b/action.yml index 5aa7b07..c21ca58 100644 --- a/action.yml +++ b/action.yml @@ -11,4 +11,4 @@ runs: run: | set -euo pipefail GOBIN=/usr/local/bin go install "golang.org/x/tools/cmd/deadcode@${{ inputs.version }}" - deadcode -h 2>&1 | head -1 + deadcode -h >/dev/null 2>&1 || true # help exits nonzero; the install is what we verify