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: | 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. diff --git a/interval-functor.cabal b/interval-functor.cabal index 64e9da6..03c3c6e 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 @@ -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: @@ -31,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 @@ -45,9 +50,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