get-tested v0.1.9.0 and v0.1.9.1 have been released!
These releases bring improvements for better compatibility between versions of the CLI tool and the action. Moreover, thanks to new release workflow, the get-tested Github Action can be run on windows & macos runners, not just ubuntu runners anymore.
The README mentions the need to select at least one operating system in the action’s options, which has been a source of confusion for some people.
My thanks to @mmhat for the contributions.
Special thanks to @webdevred for driving the release engineering for the v0.1.9 family.
And thanks to the haters, whose notable absence keeps us going.
You can use this GitHub Action in your CI workflow with the following snippet:
jobs:
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
id: set-matrix
uses: kleidukos/get-tested@v0.1.9.1
with:
cabal-file: get-tested.cabal
ubuntu-version: 'latest'
macos-version: 'latest'
windows-version: 'latest'
version: 0.1.9.1
build:
name: "${{ matrix.ghc }} on ${{ matrix.os }}"
needs: generate-matrix
runs-on: ${{ matrix.os }}
strategy:
matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
steps:
[…]