Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand All @@ -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: |
Expand Down Expand Up @@ -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 "
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-typescript-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Generate typescript model
run: |
./build/typescript-model/generate.sh
bash ./build/typescript-model/generate.sh
cp -r ./build/typescript-model/workdir/typescript-models ../
working-directory: api

Expand Down