Skip to content

Commit

Permalink
ci: Try using haskell-actions/setup
Browse files Browse the repository at this point in the history
This would allow us to use a single CI infrastructure for all platforms.
  • Loading branch information
bgamari committed Jan 24, 2025
1 parent 4f13e52 commit f80e5cf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: [push]
name: build
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ['9.2.3', '9.4.5', '9.6.6', '9.8.4', '9.10.1']
cabal: ['3.14.1.1']
os: [ubuntu-latest, macOS-latest, windows-latest]
name: "${{ matrix.os }} - ${{ matrix.ghc }}"
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal check
- run: cabal update
- run: cabal build
- run: cabal test --test-show-details=direct

0 comments on commit f80e5cf

Please sign in to comment.