ci: Cabal install packdeps outside of project dir

Invoking cabal in the project directory with a cabal.project file might
fail on unrelated dependencies missing, see
4f539734be

Doesn't fail in this repo, but let's keep the workflows in sync.
This commit is contained in:
Tomas Janousek 2022-12-03 13:03:41 +00:00 committed by Tony Zorman
parent 7f95f5ef07
commit c2aeaffc03

View File

@ -23,6 +23,7 @@ jobs:
run: | run: |
set -ex set -ex
echo "$HOME/.cabal/bin" >> $GITHUB_PATH echo "$HOME/.cabal/bin" >> $GITHUB_PATH
cd # go somewhere without a cabal.project
cabal install packdeps cabal install packdeps
- name: Check package bounds (all) - name: Check package bounds (all)
continue-on-error: true continue-on-error: true