Skip to content

Commit

Permalink
Customize test command for each tool
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Dec 3, 2023
1 parent bec0595 commit e17a788
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ jobs:
os:
# - macos-latest
- ubuntu-latest
plugin:
- cabal
- ghc
- hls
- stack
test:
- plugin: cabal
command: cabal --version
- plugin: ghc
command: ghc --version
- plugin: hls
command: haskell-language-server-wrapper --version
- plugin: stack
command: stack --version
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- uses: asdf-vm/actions/plugin-test@v3
with:
plugin: ${{ matrix.plugin }}
command: ${{ matrix.plugin }} --version
gitref: non_interactive_ghcup_installation
plugin: ${{ matrix.test.plugin }}
command: ${{ matrix.test.command }}

0 comments on commit e17a788

Please sign in to comment.