Skip to content

Commit

Permalink
Merge pull request #51 from TripShot/ci
Browse files Browse the repository at this point in the history
Adjust CI
  • Loading branch information
cydparser authored Apr 27, 2024
2 parents c867a74 + d2f9393 commit 6d46a3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
cabal build --dry-run
- name: Restore cached dependencies
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache
env:
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
Expand All @@ -67,7 +67,7 @@ jobs:
run: cabal build all --only-dependencies

- name: Save cached dependencies
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: ${{ steps.cache.outputs.cache-primary-key != steps.cache.outputs.cache-matched-key }}
with:
path: ${{ steps.setup.outputs.cabal-store }}
Expand All @@ -93,7 +93,7 @@ jobs:
include:
# GHC version must match https://www.stackage.org/nightly
- stack: "latest"
ghc: "9.6"
ghc: "9.8"

steps:
- uses: actions/checkout@v3
Expand All @@ -115,7 +115,7 @@ jobs:
stack config set system-ghc true --global
stack config set resolver nightly
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Cache
with:
path: |
Expand Down

0 comments on commit 6d46a3e

Please sign in to comment.