Skip to content

Commit

Permalink
more workflow etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyYakeley committed Aug 5, 2023
1 parent f5039b7 commit fbed132
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@ permissions:

jobs:
build:
strategy:
matrix:
ghc:
- "9.2.8"
- "9.4.5"
- "9.6.2"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-haskell@v1
with:
ghc-version: '9.4.5'
cabal-version: '3.2'
ghc-version: ${{matrix.ghc}}
cabal-version: '3.10'

- name: Cache
uses: actions/cache@v3
Expand All @@ -40,4 +46,4 @@ jobs:
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
run: cabal test --test-show-details=always all
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.stack-work
.build
dist-newstyle/
2 changes: 2 additions & 0 deletions cabal.project.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore-project: False
tests: True
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-19.22
resolver: lts-21.6
packages: [.]
ghc-options:
"$locals": -Werror
Expand Down
16 changes: 8 additions & 8 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ packages:
- completed:
hackage: invariant-0.6@sha256:67ecd31a36c3a9a686a8bee9dbee5a395a4c68b758262413c0355bae03a5a114,3563
pantry-tree:
size: 650
sha256: 891bd4f57f67034760437dd19387122b236f1141151ed8f62682b3088ad85e20
size: 650
original:
hackage: invariant-0.6
- completed:
hackage: countable-1.2@sha256:4c1d43a9886ddd9ef02b3df7042122d8cf3390256d51b061b24365b682652ad2,2638
pantry-tree:
size: 1050
sha256: 38f62a16602902874ec79a107966c3147de25a94e39cb846ce18ac14d2adbdc4
size: 1050
original:
hackage: countable-1.2
- completed:
hackage: witness-0.6.1@sha256:b522cb9e4d6eea7cb6361c50ec330ecc82d69596f57dbdff1dcee2127b557adc,3690
pantry-tree:
size: 2985
sha256: 71817dc97637b387de201feaece2285b629e7ca2a66ef5889115efc1c0eb82f6
size: 2985
original:
hackage: witness-0.6.1
- completed:
hackage: type-rig-0.1@sha256:7ca3cb544b28926b2070cd45969beb5c65d540e15f487df824cbc738c2f5fb1a,2158
pantry-tree:
size: 472
sha256: 361a154dcc5f62c3fe54d072a7094b97c3ff4f753f9370ef17b17859c76e4662
size: 472
original:
hackage: type-rig-0.1
snapshots:
- completed:
size: 619399
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/22.yaml
sha256: 5098594e71bdefe0c13e9e6236f12e3414ef91a2b89b029fd30e8fc8087f3a07
original: lts-19.22
sha256: 2e7d4a730d8eb5373b2d383fac84efcf7c81e3b7a5fce71b4c2e19a1768f25a6
size: 640239
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/6.yaml
original: lts-21.6

0 comments on commit fbed132

Please sign in to comment.