Skip to content
Open
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
19 changes: 12 additions & 7 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
name: Haskell CI

on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
ghc: [ '8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.8', '9.4.8', '9.6.5', '9.8.2', '9.10.1' ]
ghc: [ '8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.8', '9.4.8', '9.6.7', '9.8.4', '9.10.3', '9.12.2' ]

steps:
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v2
- uses: actions/checkout@v6
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.10'
cabal-version: latest

- name: cabal Cache
uses: actions/cache@v3
uses: actions/cache@v5
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
Expand Down
6 changes: 3 additions & 3 deletions witherable/witherable.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4
name: witherable
version: 0.5
x-revision: 1
x-revision: 2
synopsis: filterable traversable
description: A stronger variant of `traverse` which can remove elements and generalised mapMaybe, catMaybes, filter
homepage: https://github.com/fumieval/witherable
Expand All @@ -14,7 +14,7 @@ category: Data
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 ||
==9.0.1 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.4 || ==9.10.3 || ==9.12.2

source-repository head
type: git
Expand All @@ -26,7 +26,7 @@ library
Witherable
build-depends: base >=4.9 && <5,
base-orphans >=0.8.4 && <0.10,
containers >=0.5.7.1 && <0.8,
containers >=0.5.7.1 && <0.9,
hashable >=1.2.7.0 && <1.6,
transformers >=0.5.2.0 && <0.7,
unordered-containers >=0.2.12.0 && <0.3,
Expand Down