Skip to content

Commit efdd8b7

Browse files
committed
ci: Try using haskell-actions/setup
This would allow us to use a single CI infrastructure for all platforms.
1 parent 4f13e52 commit efdd8b7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/validate.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on: [push]
2+
name: build
3+
jobs:
4+
build:
5+
runs-on: ${{ matrix.os }}
6+
strategy:
7+
matrix:
8+
ghc: ['9.2.3', '9.4.5', '9.6.6', '9.8.4', '9.10.1']
9+
cabal: ['3.14.1.1']
10+
#os: [ubuntu-latest, macOS-latest, windows-latest]
11+
os: [ubuntu-latest, windows-latest]
12+
name: "${{ matrix.os }} - ${{ matrix.ghc }}"
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup Haskell
16+
uses: haskell-actions/setup@v2
17+
with:
18+
ghc-version: ${{ matrix.ghc }}
19+
cabal-version: ${{ matrix.cabal }}
20+
- run: cabal check
21+
- run: cabal update
22+
- run: cabal build
23+
- run: cabal test --test-show-details=direct --verbose

0 commit comments

Comments
 (0)