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
16 changes: 11 additions & 5 deletions .github/workflows/haskell.yml → .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set user input permissions
run: sudo usermod -a -G input $USER
Expand All @@ -20,7 +20,7 @@ jobs:
uses: haskell-actions/setup@v2
id: setup
with:
ghc-version: '9.4'
ghc-version: '9.6'
cabal-version: '3.10'
cabal-update: true

Expand All @@ -33,7 +33,7 @@ jobs:
cabal build all --dry-run

- name: Restore cached dependencies
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache
env:
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
Expand All @@ -46,8 +46,8 @@ jobs:
run: cabal build all --only-dependencies

- name: Save cached dependencies
uses: actions/cache/save@v3
if: ${{ steps.cache.outputs.cache-primary-key != steps.cache.outputs.cache-matched-key }}
uses: actions/cache/save@v4
if: steps.cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.setup.outputs.cabal-store }}
key: ${{ steps.cache.outputs.cache-primary-key }}
Expand All @@ -59,3 +59,9 @@ jobs:
run: |
cabal build test
sudo $(cabal list-bin test)

- name: Check cabal files
run: (cd evdev && cabal check) && (cd evdev-streamly && cabal check)

- name: Build documentation
run: cabal haddock all
2 changes: 1 addition & 1 deletion evdev-streamly/evdev-streamly.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage: https://github.com/georgefst/evdev
license: BSD-3-Clause
license-file: LICENSE
category: Streamly, System
extra-source-files:
extra-doc-files:
CHANGELOG.md
README.md

Expand Down
2 changes: 1 addition & 1 deletion evdev/evdev.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage: https://github.com/georgefst/evdev
license: BSD-3-Clause
license-file: LICENSE
category: System
extra-source-files:
extra-doc-files:
CHANGELOG.md
README.md

Expand Down