Skip to content

Commit

Permalink
Merge pull request #27 from konn/konn/ghc-9.8
Browse files Browse the repository at this point in the history
GHC 9.8 Support
  • Loading branch information
konn authored Dec 26, 2023
2 parents 6c58850 + 2c24b06 commit a44e623
Show file tree
Hide file tree
Showing 21 changed files with 1,799 additions and 9,276 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
build:
needs: [enumerate]
continue-on-error: false
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand All @@ -40,14 +40,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: 3.10.1.0
cabal-version: 3.10.2.0
enable-stack: false

- name: Cache ~/.cabal/store
uses: actions/cache@v3
uses: actions/cache/restore@v3
env:
cache-name: cache-cabal-store
with:
Expand Down Expand Up @@ -76,6 +76,17 @@ jobs:
--allow-newer='ghc-typelits-presburger,singletons-presbruger'
${CABAL} v2-update
- name: Build Dependencies
run: |
${CABAL} v2-build all --only-dependencies
# Save ~/.cabal/store cache
- name: Save Cache ~/.cabal/store
uses: actions/cache/save@v3
env:
cache-name: cache-cabal-store
with:
path: ~/.cabal/store
key: build-${{ runner.os }}-${{env.cache-name}}-${{matrix.ghc}}-${{ hashFiles('**/*.cabal', '${{matrix.plan}}') }}
- name: Build
run: |
${CABAL} v2-build all
Expand Down
6 changes: 0 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
"github-actions.workflows.pinned.refresh.enabled": true,
"editor.defaultFormatter": "haskell.haskell",
"haskell.formattingProvider": "fourmolu",
"haskell.toolchain": {
"hls": "1.9.0.0-50-gfd517d82",
"ghc": "9.6.1",
"cabal": "3.10.1.0",
"stack": "2.9.3"
},
"emeraldwalk.runonsave": {
"commands": [
{
Expand Down
Loading

0 comments on commit a44e623

Please sign in to comment.