File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GHC Nightly
2+
3+ # Trigger the workflow on push or pull request, but only for the main branch
4+ on :
5+ pull_request :
6+ push :
7+ branches : ["main"]
8+
9+ jobs :
10+ tests :
11+ name : Tests on GHC Nightly
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : haskell/ghcup-setup@v1
16+ - name : Setup GHC Nightly
17+ run : |
18+ ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-2025-0.0.7.yaml
19+ ghcup install ghc latest-nightly
20+ - name : Setup mdBook
21+ uses : peaceiris/actions-mdbook@v2
22+ with :
23+ mdbook-version : ' 0.4.40'
24+ - run : make docs
25+ - name : Build
26+ continue-on-error : true
27+ run : |
28+ cabal update
29+ cabal build --allow-newer --project-file=cabal.ci.project
30+ - name : Test
31+ run : cabal test --project-file=cabal.ci.project all
You can’t perform that action at this time.
0 commit comments