Skip to content

Commit a821ddb

Browse files
committed
ci: do cabal check earlier
1 parent 09933c1 commit a821ddb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/haskell.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
echo "GHC_VERSION=${GHC_VERSION}" >> "${GITHUB_ENV}"
4646
echo "CABAL_VERSION=${CABAL_VERSION}" >> "${GITHUB_ENV}"
4747
48+
- name: Check cabal file
49+
run: cabal check
50+
4851
- name: Configure the build
4952
run: |
5053
cabal update
@@ -60,8 +63,5 @@ jobs:
6063
- name: Run tests
6164
run: cabal test
6265

63-
- name: Check cabal file
64-
run: cabal check
65-
6666
- name: Build documentation
6767
run: cabal haddock

0 commit comments

Comments
 (0)