From 4a340d974bcb8b7cf43d34c68eb47a4cef3f8ab1 Mon Sep 17 00:00:00 2001 From: Evan Laforge Date: Fri, 13 Sep 2024 22:01:19 -0700 Subject: [PATCH 1/2] replace deprecated haskell/actions with haskell-actions --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b63a208..845b036 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ on: push: branches: - master + - gh-actions pull_request: {} # Validate all PRs defaults: @@ -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 }} From e00d1868697cd1c3bca89777037ec0a4de660779 Mon Sep 17 00:00:00 2001 From: Evan Laforge Date: Mon, 16 Sep 2024 20:34:35 -0700 Subject: [PATCH 2/2] only haddock for latest ghc --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 845b036..91ab0a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,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: |