Skip to content

Add CI job which simply cabal test #1

Add CI job which simply cabal test

Add CI job which simply cabal test #1

Workflow file for this run

name: ci-tests
on:
push:
branches:
- master
- ci2
pull_request: {} # Validate all PRs
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
ghc: ['9.10']
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Test
run: |
cabal test --enable-tests --enable-benchmarks --test-show-details=direct all