Skip to content

Commit

Permalink
ci now checks for changes in source\nuseful for changing checking to …
Browse files Browse the repository at this point in the history
…ensure that package.yaml and *.cabal are synced
  • Loading branch information
BebeSparkelSparkel committed Jul 12, 2024
1 parent 17998c3 commit 588b84a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@ jobs:
ghc --version
stack --version
stack test --system-ghc $extraLibDirs $extraIncludeDirsLLVM $extraIncludeDirsFFI --fast --no-terminal --snapshot=lts-$snapshot
- name: Check for Source Changes
shell: bash
run: |
if [ -n "$(git status --porcelain)" ]
then
>&2 echo 'ERROR: Source Changed After Build'
>&2 git diff
>&2 git status
>&2 echo 'ERROR: Source Changed After Build'
exit 1
fi
Cabal:
name: Cabal
Expand Down

0 comments on commit 588b84a

Please sign in to comment.