Skip to content

Commit fe5789a

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

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/validate.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
name: hsc2hs validation (${{ matrix.ghc }})
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Setup Haskell
15+
uses: haskell-actions/setup@v2
16+
with:
17+
ghc-version: ${{ matrix.ghc }}
18+
cabal-version: ${{ matrix.cabal }}
19+
- run: cabal test

0 commit comments

Comments
 (0)