Skip to content

Fix Stack CI

Fix Stack CI #1

name: Test cabal.project files
on:
push:
branches:
- master
tags:
- 'v*'
pull_request:
branches:
- master
schedule:
- cron: '0 2 * * *'
jobs:
build:
name: Build binary
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- os: [macOS-latest, macOS-11, windows-latest, ubuntu-latest]

Check failure on line 22 in .github/workflows/cabal.project.yaml

View workflow run for this annotation

GitHub Actions / Test cabal.project files

Invalid workflow file

The workflow is not valid. .github/workflows/cabal.project.yaml (Line: 22, Col: 9): A sequence was not expected
- ghc: ["8.10.7", "9.0.2", "9.2.8", "9.4.8"]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Run build
run: |
ghcup run --cabal latest --ghc ${GHC_VER} -- cabal build --project-file=cabal.ghc${GHC_VER//./}.project
env:
GHC_VER: ${{ matrix.ghc }}