Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace deprecated haskell/actions with haskell-actions #66

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- gh-actions
pull_request: {} # Validate all PRs

defaults:
Expand Down Expand Up @@ -35,8 +36,8 @@ jobs:
- os: windows-latest
ghc: '9.10'
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
Expand All @@ -56,10 +57,16 @@ jobs:
cd fast-tags-*/
cabal build fast-tags:exe:fast-tags fast-tags:tests --enable-tests
cabal test --enable-tests --test-show-details=direct fast-tags:tests

- name: Haddock
# Haddock forces a rebuild of everything, since it thinks all the deps
# now need haddock too and cabal can't build haddock separately. And
# haddock is broken for 8.0, 8.2, 8.4.
if: ${{ matrix.ghc == '9.10' }}
run: |
cd fast-tags-*/
cabal haddock all

# Disabled, see comment in .cabal.
# - name: Cabal check
# run: |
Expand Down
Loading