Skip to content

Commit

Permalink
Support GHC 9.12. (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles authored Jan 17, 2025
2 parents 11ceab2 + 78d8e3f commit ebd8e75
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 19 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- '9.6'
- '9.8'
- '9.10'
- '9.12'
exclude:
# TODO: https://github.com/haskell-actions/setup/issues/77
# To work around the above issue, we exclude the following versions:
Expand Down Expand Up @@ -116,7 +117,7 @@ jobs:
if: |
github.ref == 'refs/heads/main'
&& matrix.os == 'ubuntu-latest'
&& matrix.ghc == '9.10'
&& matrix.ghc == '9.12'
run: >
mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages
Expand All @@ -126,7 +127,7 @@ jobs:
if: |
github.ref == 'refs/heads/main'
&& matrix.os == 'ubuntu-latest'
&& matrix.ghc == '9.10'
&& matrix.ghc == '9.12'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.3.0.5

- Added support for GHC `9.12`.

# 0.3.0.4

- Added support for GHC `9.10`.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright © 2022–2024 Jonathan Knowles
Copyright © 2022–2025 Jonathan Knowles

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions quickcheck-monoid-subclasses.cabal
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cabal-version: 3.0
name: quickcheck-monoid-subclasses
version: 0.3.0.4
version: 0.3.0.5
bug-reports: https://github.com/jonathanknowles/quickcheck-monoid-subclasses/issues
license: Apache-2.0
license-file: LICENSE
author: Jonathan Knowles
maintainer: [email protected]
copyright: 2022–2024 Jonathan Knowles
copyright: 2022–2025 Jonathan Knowles
category: Testing
synopsis: Testing monoid subclass instances with QuickCheck
description:
Expand All @@ -19,7 +19,7 @@ extra-doc-files:
README.md

common dependency-base
build-depends:base >= 4.14.3.0 && < 4.21
build-depends:base >= 4.14.3.0 && < 4.22
common dependency-bytestring
build-depends:bytestring >= 0.10.12.0 && < 0.13
common dependency-commutative-semigroups
Expand Down
2 changes: 1 addition & 1 deletion src/internal/Internal.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
module Internal
Expand Down
2 changes: 1 addition & 1 deletion src/internal/Internal/Semigroup/Eq.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
module Internal.Semigroup.Eq
Expand Down
2 changes: 1 addition & 1 deletion src/internal/Internal/Semigroup/Tuple.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{- HLINT ignore "Redundant bracket" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
module Internal.Semigroup.Tuple
Expand Down
2 changes: 1 addition & 1 deletion src/prelude/Internal/Prelude.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
module Internal.Prelude
Expand Down
2 changes: 1 addition & 1 deletion src/public/Test/QuickCheck/Classes/Monoid/Factorial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{- HLINT ignore "Use const" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
2 changes: 1 addition & 1 deletion src/public/Test/QuickCheck/Classes/Monoid/GCD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{- HLINT ignore "Redundant ==" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
2 changes: 1 addition & 1 deletion src/public/Test/QuickCheck/Classes/Monoid/LCM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{- HLINT ignore "Use &&" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
2 changes: 1 addition & 1 deletion src/public/Test/QuickCheck/Classes/Monoid/Monus.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{- HLINT ignore "Redundant bracket" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
2 changes: 1 addition & 1 deletion src/public/Test/QuickCheck/Classes/Monoid/Null.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{- HLINT ignore "Redundant bracket" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{- HLINT ignore "Redundant bracket" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
2 changes: 1 addition & 1 deletion src/public/Test/QuickCheck/Classes/Semigroup/Factorial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{- HLINT ignore "Use null" -}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- This module provides 'Laws' definitions for classes exported by
Expand Down
2 changes: 1 addition & 1 deletion src/test/ClassSpec.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}

-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
module ClassSpec where
Expand Down
2 changes: 1 addition & 1 deletion src/test/Test/Hspec/Laws.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- |
-- Copyright: © 2022–2024 Jonathan Knowles
-- Copyright: © 2022–2025 Jonathan Knowles
-- License: Apache-2.0
--
-- Provides testing functions to check that type class instances obey laws.
Expand Down

0 comments on commit ebd8e75

Please sign in to comment.