From 6b8047c99a44b4fb579bf3090fc13a8a6b74431c Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 4 Oct 2024 08:27:37 -0400 Subject: [PATCH 1/6] Moar. --- interval-functor.cabal | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interval-functor.cabal b/interval-functor.cabal index 64e9da6..8d3e056 100644 --- a/interval-functor.cabal +++ b/interval-functor.cabal @@ -22,6 +22,12 @@ tested-with: GHC == 8.6.5 GHC == 8.8.3 GHC == 8.10.1 + GHC == 9.0.1 + GHC == 9.2.1 + GHC == 9.4.2 + GHC == 9.6.2 + GHC == 9.8.2 + GHC == 9.10.1 common warnings ghc-options: From c1b4047b247d9399b40b92f1368e55a9665821a2 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 4 Oct 2024 08:27:56 -0400 Subject: [PATCH 2/6] Bump. --- interval-functor.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interval-functor.cabal b/interval-functor.cabal index 8d3e056..e3ed891 100644 --- a/interval-functor.cabal +++ b/interval-functor.cabal @@ -1,7 +1,7 @@ cabal-version: 3.0 name: interval-functor -version: 0.0.0.0 +version: 0.0.0.1 synopsis: Intervals of functors. description: Closed intervals in spaces described by a functor. homepage: https://github.com/robrix/interval-functor From 2be1df4a4ec1fa47901431c03f77e1666134bd83 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 4 Oct 2024 08:28:28 -0400 Subject: [PATCH 3/6] Changelog. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..9a0fafe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# 0.0.0.1 + +- Supports `ghc`s through 9.10.1. From 863d43b4f6520388ce83e9006977c4f53fcba621 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 4 Oct 2024 08:31:45 -0400 Subject: [PATCH 4/6] CI. --- .github/workflows/ci.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e239dc7..a5390b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,41 +1,45 @@ name: Haskell CI -on: [pull_request] +on: + pull_request: + branches: + - "**" + push: + branches: + - "main" jobs: build: name: ghc ${{ matrix.ghc }} - runs-on: ubuntu-16.04 + runs-on: ubuntu-latest strategy: matrix: - ghc: ["8.2.2", "8.4.4", "8.6.5", "8.8.3", "8.10.1"] - cabal: ["latest"] + ghc: ["8.2", "8.4", "8.6", "8.8", "8.10", "9.0", "9.2", "9.4", "9.6", "9.8", "9.10"] steps: - uses: actions/checkout@v2 - if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master' + if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main' - - uses: actions/setup-haskell@v1.1.2 + - uses: haskell-actions/setup@v2 name: Setup Haskell with: ghc-version: ${{ matrix.ghc }} - cabal-version: ${{ matrix.cabal }} - - uses: actions/cache@v1 + - uses: actions/cache@v2 name: Cache ~/.cabal/packages with: path: ~/.cabal/packages key: ${{ runner.os }}-${{ matrix.ghc }}-cabal-packages - - uses: actions/cache@v1 + - uses: actions/cache@v2 name: Cache ~/.cabal/store with: path: ~/.cabal/store key: ${{ runner.os }}-${{ matrix.ghc }}-cabal-store - - uses: actions/cache@v1 + - uses: actions/cache@v2 name: Cache dist-newstyle with: path: dist-newstyle - key: ${{ runner.os }}-${{ matrix.ghc }}-interval-functor-dist + key: ${{ runner.os }}-${{ matrix.ghc }}-repo-dist - name: Install dependencies run: | From a7ed18436828a6ee4909feebd797c3877f836c00 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 4 Oct 2024 08:36:51 -0400 Subject: [PATCH 5/6] =?UTF-8?q?More=20warnings,=20earlier=20warnings=20?= =?UTF-8?q?=F0=9F=A4=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interval-functor.cabal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interval-functor.cabal b/interval-functor.cabal index e3ed891..5d4afb2 100644 --- a/interval-functor.cabal +++ b/interval-functor.cabal @@ -51,9 +51,12 @@ common warnings if (impl(ghc >= 9.2)) ghc-options: -Wno-missing-kind-signatures - if (impl(ghc >= 9.10)) + if (impl(ghc >= 9.8)) ghc-options: -Wno-missing-role-annotations + -Wno-term-variable-capture + -Wno-x-partial + -Wno-missing-poly-kind-signatures library import: warnings From 97f11bee51f0b622345813cf5309b8b5615e84cc Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 4 Oct 2024 08:41:09 -0400 Subject: [PATCH 6/6] Well, uh, oops. --- interval-functor.cabal | 1 - 1 file changed, 1 deletion(-) diff --git a/interval-functor.cabal b/interval-functor.cabal index 5d4afb2..03c3c6e 100644 --- a/interval-functor.cabal +++ b/interval-functor.cabal @@ -37,7 +37,6 @@ common warnings -Wno-missed-specialisations -Wno-missing-import-lists -Wno-missing-local-signatures - -Wno-missing-safe-haskell-mode -Wno-monomorphism-restriction -Wno-name-shadowing -Wno-safe