X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=eac181be8e2c58912c1307759e18c00c1a9534ce;hb=8daa0c1746aeec8469bab6040f8aac63f93ccc54;hp=302503951e746440e5b7831a7fa0f568a4771647;hpb=280249dd3d7025f2e15ef6a9a6b5bfd22ce37447;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 3025039..eac181b 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -1,4 +1,4 @@ -name: Haskell CI +name: Test on: [push, pull_request] jobs: @@ -9,27 +9,24 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.10.1', '8.8.3', '8.6.5', '8.4.4'] + ghc: ['8.10.3', '8.8.3', '8.6.5', '8.4.4'] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: - os: windows-latest ghc: '8.8.3' # fails due to segfault steps: - - uses: actions/checkout@v1 - - uses: actions/setup-haskell@v1.1 + - uses: actions/checkout@v2 + - uses: haskell/actions/setup@v1 with: ghc-version: ${{ matrix.ghc }} - cabal-version: '3.0' - - run: cabal update + cabal-version: '3.2' - name: Cache Cabal uses: actions/cache@v1.2.0 with: path: ~/.cabal - key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal - restore-keys: | - ${{ runner.OS }}-${{ matrix.ghc }}-cabal + key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-0 - name: Build run: cabal build