-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update directly executed scripts inside workflows (#1107)
* Update directly executed scripts on workflows Signed-off-by: thepetk <[email protected]> * Update directly executed scripts on bash scripts Signed-off-by: thepetk <[email protected]> --------- Signed-off-by: thepetk <[email protected]>
- Loading branch information
Showing
5 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,16 +27,16 @@ jobs: | |
|
||
- name: Generate Go sources, CRDs and schemas | ||
run: | | ||
./docker-run.sh ./build.sh | ||
bash ./docker-run.sh ./build.sh | ||
if [[ ! -z $(git status -s) ]] | ||
then | ||
echo 'Command `./docker-run.sh ./build.sh` did introduce changes, which should not be the case if it had been run as part of the PR. Please run it locally and check in the results as part of your PR.' | ||
echo 'Command `bash ./docker-run.sh ./build.sh` did introduce changes, which should not be the case if it had been run as part of the PR. Please run it locally and check in the results as part of your PR.' | ||
git --no-pager diff | ||
exit 1 | ||
fi | ||
- name: Validate samples against schemas | ||
run: ./docker-run.sh ./validate-samples.sh | ||
run: bash ./docker-run.sh ./validate-samples.sh | ||
|
||
- name: Run GO tests | ||
run: go test -coverprofile cover.out -v ./... | ||
|
@@ -45,7 +45,7 @@ jobs: | |
uses: codecov/[email protected] | ||
|
||
- name: Check typescript model generation | ||
run: ./build/typescript-model/generate.sh | ||
run: bash ./build/typescript-model/generate.sh | ||
|
||
- name: Check GO mod state | ||
run: | | ||
|
@@ -75,7 +75,7 @@ jobs: | |
run: | | ||
export PATH=$PATH:$(go env GOPATH)/bin | ||
go install github.com/securego/gosec/v2/cmd/[email protected] | ||
./run_gosec.sh | ||
bash ./run_gosec.sh | ||
if [[ $? != 0 ]] | ||
then | ||
echo "gosec scanner failed to run " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters