Skip to content

Commit

Permalink
Merge pull request #9 from robrix/0.0.0.1
Browse files Browse the repository at this point in the history
0.0.0.1
  • Loading branch information
robrix authored Oct 4, 2024
2 parents 2546604 + 97f11be commit a852bc6
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 14 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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[email protected]
- 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: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 0.0.0.1

- Supports `ghc`s through 9.10.1.
14 changes: 11 additions & 3 deletions interval-functor.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a852bc6

Please sign in to comment.