mirror of
https://github.com/swarm-game/swarm.git
synced 2024-08-16 18:10:23 +03:00
Add ci flag to CI
- set -Werror in CI - fix GHC 9.2 warning about TH looking syntax ($e)
This commit is contained in:
parent
94c876a01a
commit
ff9ec66711
1
.github/workflows/haskell-ci.yml
vendored
1
.github/workflows/haskell-ci.yml
vendored
@ -198,6 +198,7 @@ jobs:
|
||||
echo "package swarm" >> cabal.project
|
||||
echo " ghc-options: -Werror=missing-methods" >> cabal.project
|
||||
cat >> cabal.project <<EOF
|
||||
flags: +ci
|
||||
EOF
|
||||
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(swarm)$/; }' >> cabal.project.local
|
||||
cat cabal.project
|
||||
|
@ -21,4 +21,7 @@ benchmarks: True
|
||||
hlint: True
|
||||
hlint-job: 9.0.2
|
||||
hlint-yaml: .hlint.yaml
|
||||
hlint-download-binary: True
|
||||
hlint-download-binary: True
|
||||
|
||||
raw-project
|
||||
flags: +ci
|
||||
|
Loading…
Reference in New Issue
Block a user