Skip to content

Commit

Permalink
ci(#348): move fourmolu installation after cabal update has been perf…
Browse files Browse the repository at this point in the history
…ormed
  • Loading branch information
sourabhxyz committed Sep 5, 2024
1 parent e52a873 commit 6170595
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install fourmolu
run: cabal install fourmolu --overwrite-policy=always

- name: Run checks (fourmolu)
run: git ls-files -z '*.hs' | xargs -P 12 -0 fourmolu --mode check

- name: Install LIBSODIUM
run: |
git clone https://github.com/input-output-hk/libsodium
Expand Down Expand Up @@ -174,6 +168,10 @@ jobs:
run: cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build all targets (cabal)
run: cabal build --enable-tests --enable-benchmarks all
- name: Install fourmolu
run: cabal install fourmolu --overwrite-policy=always
- name: Run checks (fourmolu)
run: git ls-files -z '*.hs' | xargs -P 12 -0 fourmolu --mode check
- name: Symlink cardano-node binaries
run: cabal install --package-env=$(pwd) --overwrite-policy=always cardano-cli cardano-node
- name: Run privnet tests
Expand Down

0 comments on commit 6170595

Please sign in to comment.