Skip to content

Commit

Permalink
Use get tested github action (#275)
Browse files Browse the repository at this point in the history
Use get-tested action
  • Loading branch information
turion authored Jan 7, 2024
1 parent 6caf791 commit a84f914
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,16 @@ jobs:

generateMatrix:
name: "Generate matrix from cabal"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- name: Checkout base repo
uses: actions/checkout@v4
- name: Extract the tested GHC versions
- uses: kleidukos/[email protected]
id: set-matrix
run: |
wget https://github.com/Kleidukos/get-tested/releases/download/v0.1.5.0/get-tested-0.1.5.0-linux-amd64 -O get-tested
chmod +x get-tested
./get-tested --ubuntu rhine/rhine.cabal >> $GITHUB_OUTPUT
with:
cabal-file: "rhine/rhine.cabal"
ubuntu: true
version: 0.1.6.0

build-cabal:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a84f914

Please sign in to comment.