allow building with happy v2 #84
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
name: Notice | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- stack.yaml | |
- stack.yaml.lock | |
- sv2v.cabal | |
- notice.sh | |
- NOTICE | |
jobs: | |
notice: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Regenerate NOTICE | |
run: ./notice.sh > NOTICE | |
- name: Validate NOTICE | |
run: | | |
if [ -n "`git status --porcelain`" ]; then | |
echo "Notice differs!" | |
PAGER= git diff | |
exit 1 | |
fi |