diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 9d0cc05..0698dc1 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -26,9 +26,8 @@ jobs: - name: Exit Status on Errors run: | - docker run -v $(pwd):$(pwd) -w $(pwd) --rm action-stringslint - #STATUS=$(docker run -v $(pwd):$(pwd) -w $(pwd) --rm action-stringslint &>/dev/null; echo $?) - #[[ $STATUS == "2" ]] + STATUS=$(docker run -v $(pwd):$(pwd) -w $(pwd) --rm action-stringslint &>/dev/null; echo $?) + [[ $STATUS != "0" ]] working-directory: ./test/ErrorProject shell: bash