We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ec2726 commit bd8a634Copy full SHA for bd8a634
1 file changed
.github/workflows/run-tests.yml
@@ -0,0 +1,42 @@
1
+name: Tests
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: [master, ci]
7
8
+jobs:
9
+ test:
10
+ name: ${{ matrix.resolver }} on ${{ matrix.os }} (${{ matrix.ghc }}/${{ matrix.cabal }})
11
+ runs-on: ${{ matrix.os }}
12
+ strategy:
13
+ matrix:
14
+ ghc: ['9.10.1']
15
+ cabal: ['3.12.1.0']
16
+ os: ['24.04']
17
18
+ steps:
19
20
+ - name: Check out repo
21
+ uses: actions/checkout@v2
22
23
+ - name: Setup Haskell
24
+ uses: haskell/actions/setup@v1
25
+ with:
26
+ ghc-version: ${{ matrix.ghc }}
27
+ cabal-version: ${{ matrix.cabal }}
28
29
+ - name: Cache ~/.stack
30
+ uses: actions/cache@v2.1.6
31
32
+ key: ${{ matrix.ghc }}-${{ matrix.cabal }}-${{ matrix.resolver }}
33
34
+ - name: Versions
35
+ run: |
36
+ ghc --version
37
+ echo
38
+ cabal --version
39
40
+ - name: Test
41
42
+ cabal test
0 commit comments