diff --git a/.github/workflows/nosetests.yml b/.github/workflows/nosetests.yml index 690fa4c6..507b98d5 100644 --- a/.github/workflows/nosetests.yml +++ b/.github/workflows/nosetests.yml @@ -31,7 +31,8 @@ jobs: - name: Make sure SRIs are up-to-date run: | poetry run tools/generate_sri.py - if $?; then + git diff --quiet website/web/sri.txt + if ! [ $? == 0 ] ; then echo "SRIs not up-to-date, you must run tools/generate_sri.py" exit 1 fi