Skip to content

Git should be configured in CI #15

Git should be configured in CI

Git should be configured in CI #15

Workflow file for this run

on: [push]
name: test
jobs:
test:
name: Run test on GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['latest']
cabal: ['latest']
steps:
- uses: actions/checkout@v2
- name: Setup Haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: |
git config --global user.email "[email protected]"
git config --global user.name "John Doe"
cabal test --test-show-details=direct
build:
name: Build on GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['latest']
cabal: ['latest']
steps:
- uses: actions/checkout@v2
- name: Setup Haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal build