Skip to content

ghc 9.8.1

ghc 9.8.1 #32

Workflow file for this run

name: windows
on:
push:
branches:
- master
- ci-*
- release*
paths:
- '.github/workflows/windows.yml'
- 'tasty-silver.cabal'
- 'Setup.hs'
- 'Test/**.hs'
- 'tests/**'
pull_request:
paths:
- '.github/workflows/windows.yml'
- 'tasty-silver.cabal'
- 'Setup.hs'
- 'Test/**.hs'
- 'tests/**'
defaults:
run:
shell: bash
jobs:
build-and-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: latest
cabal-version: latest
- name: Configure the build plan
run: |
cabal update
cabal configure -O1 --enable-tests
- uses: actions/cache@v3
name: Cache dependencies
id: cache
with:
path: |
${{ steps.setup-haskell.outputs.cabal-store }}
# The file `plan.json` contains the build information.
key: windows-${{ hashFiles('**/plan.json') }}
- name: Install dependencies
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: |
cabal build --only-dependencies
- name: Build
run: |
cabal build
- name: Test
run: |
cabal test --test-show-details=direct --test-options=-i