Ensure shellcheck failure exit code is reflected in GH job result
This commit is contained in:
parent
0a6b8780f0
commit
ab35b3266a
3 changed files with 12 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# shellcheck disable=SC2046
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
# shellcheck disable=SC1091 # Cannot check source of this file
|
||||
source /go/src/k8s.io/code-generator/kube_codegen.sh
|
||||
|
||||
git config --global --add safe.directory "/go/src/${PROJECT_MODULE}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue