Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Jan 6, 2024
1 parent 243f28f commit ec91b50
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@ Put this in your GitHub Action file

```yaml
jobs:
generateMatrix:
generate-matrix:
name: "Generate matrix from cabal"
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- name: Extract the tested GHC versions
uses: kleidukos/[email protected]
id: set-matrix
uses: kleidukos/get-tested@0
with:
cabal-file: "path/to/your.cabal"
cabal-file: get-tested.cabal
ubuntu: true
version: 0.1.6.0
tests:
name: ${{ matrix.ghc }} on ${{ matrix.os }}
needs: generateMatrix
needs: generat-matrix
runs-on: ${{ matrix.os }}
strategy:
matrix: ${{ fromJSON(needs.generateMatrix.outputs.matrix) }}
matrix: ${{ fromJSON(needs.generat-matrix.outputs.matrix) }}
```
![](./showcase.png)

0 comments on commit ec91b50

Please sign in to comment.