Skip to content

Commit

Permalink
Merge pull request #234 from BebeSparkelSparkel/classy-prelude-versio…
Browse files Browse the repository at this point in the history
…n-fix

fix classy-prelude.cabal version to match package.yaml
ci now checks for changes in source\nuseful for changing checking to ensure that package.yaml and *.cabal are synced
  • Loading branch information
BebeSparkelSparkel authored Jul 12, 2024
2 parents 17998c3 + 3877475 commit 0f58aee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion classy-prelude/classy-prelude.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack

name: classy-prelude
version: 1.5.0.2
version: 1.5.0.3
synopsis: A typeclass-based Prelude.
description: See docs and README at <http://www.stackage.org/package/classy-prelude>
category: Control, Prelude
Expand Down

0 comments on commit 0f58aee

Please sign in to comment.