Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHC 9.8 Support #9

Merged
merged 4 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
with:
cabal-version: 3.10.1.0
cabal-version: 3.10.2.0
enable-stack: false
- run: cabal check

build:
needs: [enumerate]
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand All @@ -50,14 +51,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
- name: Restore Cache ~/.cabal/store
uses: actions/cache/restore@v3
env:
cache-name: cache-cabal-store
with:
Expand All @@ -81,6 +82,17 @@ jobs:
run: |
${CABAL} v2-configure --enable-tests --enable-benchmarks
${CABAL} v2-update
- name: Build Dependencies
run: |
${CABAL} v2-build all --only-dependencies
- 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 Expand Up @@ -120,7 +132,7 @@ jobs:
echo "Executing: ${TEST}"
"${TEST}"
done

find artifacts/exes -type f | while read -r TEST; do
echo "Executing: ${TEST}"
"${TEST}"
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
name: Release
on:
push:
branches: [master]
tags:
- "[0-9]+"
- "[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]*"

jobs:
hackage-release:
name: Release to Hackage
if: >
github.event_name == 'push'
&& startsWith(github.ref, 'refs/tags/')
name: Release to Hackage
environment: hackage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
with:
cabal-version: 3.10.1.0
cabal-version: 3.10.2.0
enable-stack: false
- name: Cabal Check
run: cabal check
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.1.0.1

* Supports GHC 9.8
* Drops Support for GHC <9

## 1.1.0.0

* Supports GHC 9.6
Expand Down
Loading
Loading