Skip to content

Commit

Permalink
Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Nov 23, 2020
1 parent 12a85d5 commit 649c9dd
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 1,32 @@
on:
push:
pull_request:
schedule:
- cron: '0 3 * * 6' # 3am Saturday
jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc: ['8.10', '8.8', '8.6', '8.4', '8.2', '8.0']
include:
- os: windows-latest
- os: macOS-latest

steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
- run: cabal v2-freeze --enable-tests
- uses: actions/cache@v2
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- uses: ndmitchell/neil@master

0 comments on commit 649c9dd

Please sign in to comment.