Skip to content

Commit

Permalink
CI: fix cache dir, add ghc 9.6, remove ghc < 8.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jul 7, 2023
1 parent 92aed19 commit 9a7e845
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,25 @@ jobs:
fail-fast: false
matrix:
versions:
- ghc: '8.0.2'
cabal: '2.4'
- ghc: '8.2.2'
cabal: '2.4'
- ghc: '8.4.4'
cabal: '2.4'
- ghc: '8.6.5'
cabal: '2.4'
- ghc: '8.8.4'
cabal: '3.0'
- ghc: '8.10.7'
- ghc: '8.10'
cabal: '3.2'
- ghc: '9.0.2'
- ghc: '9.0'
cabal: '3.4'
- ghc: '9.2.5'
- ghc: '9.2'
cabal: '3.6'
- ghc: '9.4.4'
- ghc: '9.4'
cabal: '3.8'
- ghc: '9.6'
cabal: '3.10'
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v3
env:
cache-name: cache-cabal
with:
path: ~/.cabal
path: |
~/.local/state/cabal
key: ${{ runner.os }}-${{ matrix.ghc }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-build-${{ env.cache-name }}-
Expand Down

0 comments on commit 9a7e845

Please sign in to comment.