Skip to content

Commit

Permalink
Fix stack.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Jun 23, 2024
1 parent 5338491 commit 31adf19
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,36 @@ jobs:
include:
- resolver: lts-12
ghc: 8.4.4
# stack-yaml: stack-extra-deps.yaml
stack-yaml: stack-older.yaml
- resolver: lts-14
ghc: 8.6.5
#stack-yaml: stack-coveralls.yaml
stack-yaml: stack-older.yaml
- resolver: lts-16
ghc: 8.8.4
# stack-yaml: stack-extra-deps.yaml
stack-yaml: stack-older.yaml
- resolver: lts-18
ghc: 8.10.7
stack-yaml: stack-older.yaml
- resolver: lts-19
ghc: 9.0.2
stack-yaml: stack-older.yaml
- resolver: lts-20
ghc: 9.2.8
stack-yaml: stack-older.yaml
- resolver: lts-21
ghc: 9.4.8
stack-yaml: stack-coveralls.yaml
- resolver: lts-22
ghc: 9.6.5
stack-yaml: stack-older.yaml
- resolver: nightly # reports a problem with happy?!
ghc: 9.8.2
exclude:
- resolver: lts-18
os: windows-latest # Too buggy, occasional ghc crashes

env:
STACK_YAML: stack.yaml
STACK_YAML: ${{ matrix.stack-yaml || 'stack.yaml' }}
STACK_ARGS: '--resolver ${{ matrix.resolver }} --system-ghc'
cache-version: v8 # bump up this version to invalidate currently stored cache
steps:
Expand Down
4 changes: 2 additions & 2 deletions stack-coveralls.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resolver: lts-14.27
resolver: lts-21.25
packages:
- .
system-ghc: true
extra-deps:
- attoparsec-aeson-2.2.2.0@sha256:02dc3cc4d217a364471da7ce0f47be39e5b1449e7768134e5f2926d87a21448d,1590
- attoparsec-aeson-2.1.0.0@sha256:fa83aba43bfa58490de8f274d19b9d58b6403a207b12cac5f93922102b084c52,1154
7 changes: 7 additions & 0 deletions stack-older.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
resolver: lts-18.14
packages:
- .
extra-deps:
- attoparsec-aeson-2.1.0.0@sha256:fa83aba43bfa58490de8f274d19b9d58b6403a207b12cac5f93922102b084c52,1154
nix:
packages: [zlib]
5 changes: 2 additions & 3 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
resolver: lts-18.14
resolver: nightly-2024-06-22
packages:
- .
extra-deps:
- attoparsec-aeson-2.2.2.0@sha256:02dc3cc4d217a364471da7ce0f47be39e5b1449e7768134e5f2926d87a21448d,1590
extra-deps: []
nix:
packages: [zlib]

0 comments on commit 31adf19

Please sign in to comment.