Bump actions/cache from 4.2.3 to 4.3.0 #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: GHC Nightly | |
| # Trigger the workflow on push or pull request, but only for the main branch | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| tests: | |
| name: Tests on GHC Nightly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: haskell/ghcup-setup@v1 | |
| - name: Setup GHC Nightly | |
| run: | | |
| ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-2025-0.0.7.yaml | |
| ghcup install ghc latest-nightly | |
| - name: Setup mdBook | |
| uses: peaceiris/actions-mdbook@v2 | |
| with: | |
| mdbook-version: '0.4.40' | |
| - run: make docs | |
| - name: Build | |
| continue-on-error: true | |
| run: | | |
| cabal update | |
| cabal build --allow-newer --project-file=cabal.ci.project | |
| - name: Test | |
| run: cabal test --project-file=cabal.ci.project all |