Skip to content

Commit

Permalink
Bump the testing versions
Browse files Browse the repository at this point in the history
Add recent GHC and drop older ones as I do not have the time/energy.
  • Loading branch information
DougBurke committed Nov 18, 2024
1 parent 142d1b9 commit 4151235
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/hvega-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ jobs:
cabal: ["latest"]

os: [ubuntu-latest]
ghc-version: ["9.6", "9.4", "9.2", "9.0", "8.10"]
ghc-version: ["9.10", "9.8", "9.6", "9.4"]

include:
- os: macOS-latest
ghc-version: '9.4'
ghc-version: '9.6'
- os: windows-latest
ghc-version: '9.4'
ghc-version: '9.6'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main'

- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
name: Setup Haskell
with:
Expand Down Expand Up @@ -84,20 +84,25 @@ jobs:
run: |
cabal test all
#- name: Cabal check
# working-directory: ./hvega
# run: |
# cabal check

# test the hvega/stack.yaml setup (so need to keep the versions up to date)
stack:
name: stack / ghc ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
stack: ["latest"]
ghc: ["9.4"]
ghc: ["9.6"]

steps:
- uses: actions/checkout@v3
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main'

- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
name: Setup Haskell Stack
with:
ghc-version: ${{ matrix.ghc }}
Expand Down
2 changes: 1 addition & 1 deletion hvega/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ packages:

extra-deps: []

resolver: lts-21.2
resolver: lts-22.42

0 comments on commit 4151235

Please sign in to comment.