Skip to content

Trying to cancel out duplicate push/pull_request Github Actions calls. #19

Trying to cancel out duplicate push/pull_request Github Actions calls.

Trying to cancel out duplicate push/pull_request Github Actions calls. #19

Workflow file for this run

name: CI
on:
- push
- pull_request
defaults:
run:
shell: bash
concurrency:
group: build-${{ github.ref }}-${{ matrix.os }}-${{ matrix.ghc }}

Check failure on line 11 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 11, Col: 10): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.os
cancel-in-progress: true
jobs:
main:
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc:
- "9.0"
- "9.2"
- "9.4"
- "9.6"
- "9.8"
- "9.10"
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- uses: actions/cache@v4
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Cabal version
run: |
cabal --version
- name: Build & Test
run: |
cabal build --enable-tests
cabal test --enable-tests --test-show-details=direct properties