Skip to content

Commit dcd9f49

Browse files
committed
[github] adapt to new project structure
1 parent 06c724f commit dcd9f49

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/haskell.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: configure
4545
run: |
4646
cabal configure --enable-tests
47-
cabal build all --dry-run
47+
cabal build --dry-run
4848
4949
- name: restore cabal cache
5050
uses: actions/cache/restore@v4
@@ -59,7 +59,7 @@ jobs:
5959
- name: Install dependencies
6060
# If we had an exact cache hit, the dependencies will be up to date.
6161
if: steps.cache.outputs.cache-hit != 'true'
62-
run: cabal build all --only-dependencies
62+
run: cabal build --only-dependencies
6363

6464
- name: save cabal cache
6565
uses: actions/cache/save@v4
@@ -70,19 +70,13 @@ jobs:
7070
key: ${{ steps.cache.outputs.cache-primary-key }}
7171

7272
- name: build
73-
run: cabal build all
73+
run: cabal build
7474

7575
- name: test
76-
run: cabal test all
76+
run: cabal test
7777

7878
- name: check
79-
shell: bash
80-
run: |
81-
status=0
82-
for i in */*.cabal; do
83-
( cd "${i%/*}" && echo "[${i%/*}]" && cabal check ) || status=1
84-
done
85-
exit $status
79+
run: cabal check
8680

8781
- name: documentation
88-
run: cabal haddock all
82+
run: cabal haddock

0 commit comments

Comments
 (0)