From ec91b500525148f07adbc1bc46be17129d359f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Moonlight?= Date: Sat, 6 Jan 2024 22:47:54 +0100 Subject: [PATCH] Update README --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 97c270c..bdbd893 100644 --- a/README.md +++ b/README.md @@ -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/get-tested@v0.1.6.0 + 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)