Skip to content

Commit

Permalink
try to fix hlint ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Dec 14, 2024
1 parent fdf9458 commit 7cbecd6
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches-ignore:
- 'ghc-next*'
- 'ghc-9.12*'
pull_request:
branches-ignore:
- 'ghc-next*'
Expand All @@ -12,18 +11,16 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc: ['9.8', '9.6', '9.4']
ghc: ['9.10', '9.8', '9.6']
include:
- os: windows-latest
ghc: '9.8'
- os: macOS-latest
ghc: '9.8'

steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v2
Expand All @@ -33,15 +30,11 @@ jobs:
ghc-version: ${{ matrix.ghc }}
- name: Get GHC libdir
id: get-ghc-libdir
run: |
echo "libdir=$(ghc --print-libdir)" >> $GITHUB_OUTPUT
run: echo "libdir=$(ghc --print-libdir)" >> $GITHUB_OUTPUT
shell: bash
- run: cabal v2-freeze --enable-tests
- uses: actions/cache@v2
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ steps.get-ghc-libdir.outputs.libdir }}-${{ hashFiles('cabal.project.freeze') }}
- run: cabal new-install apply-refact --install-method=copy
- uses: ndmitchell/neil@master
with:
hlint-arguments: src
- run: cabal run exe:hlint -- --test

0 comments on commit 7cbecd6

Please sign in to comment.