Break command args into chunks under system limit like what xargs does #114
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: [push, pull_request] | |
jobs: | |
test: | |
timeout-minutes: 360 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
ghc: ['9.8.1', '9.6.3', '9.4.1', '9.2.4'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: haskell/actions/[email protected] | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
cabal-version: "3.10.2.0" | |
- name: Cache Cabal | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cabal/packages | |
~/.cabal/store | |
key: ${{ runner.os }}-${{ matrix.ghc }}-{{matrix.ghc-lib}}-cabal-test | |
- run: cabal update | |
- name: Build | |
shell: bash | |
run: cabal build | |
- name: Haddock | |
shell: bash | |
run: cabal haddock | |
- name: Test | |
shell: bash | |
run: cabal test |