Skip to content

Commit

Permalink
Merge pull request mlabs-haskell#84 from mlabs-haskell/uhbif19/haddoc…
Browse files Browse the repository at this point in the history
…ks-build

Add Haddock docs building (no deploy yet, only for CI cache)
  • Loading branch information
uhbif19 authored Jun 9, 2024
2 parents b13d558 + 1ac920f commit 05fd4c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
- push
# Does not seem to work
- merge_group

jobs:
tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,6 +45,10 @@ jobs:
cabal install --overwrite-policy=always fourmolu
/home/runner/.cabal-devx/bin/cabal-fmt --check cem-script.cabal
/home/runner/.cabal-devx/bin/fourmolu --mode check .
- name: Build haddock
shell: devx {0}
run: |
cabal haddock-project --hackage --internal
- name: Save cabal cache
uses: actions/cache/save@v3
if: always()
Expand Down
3 changes: 1 addition & 2 deletions cem-script.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ common common-onchain
, template-haskell >=2.20
, th-abstraction >=0.6.0.0

-- if flag(dev)
-- ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors

-- Options for Plutus Tx compilations
-- (some are enabled additionaly in individual modules)
Expand Down

0 comments on commit 05fd4c9

Please sign in to comment.