Skip to content

Commit

Permalink
Make command optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Dec 3, 2023
1 parent d48b901 commit f78b205
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,18 @@ jobs:
- ubuntu-latest
test:
- plugin: cabal
command: cabal --version
- plugin: ghc
command: ghc --version
- plugin: hls
command: haskell-language-server-wrapper --version
- plugin: hls
version: 1.6.1.0
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:
command: ${{ matrix.test.command }}
command: ${{ matrix.test.command || format('{0} --version', matrix.test.plugin) }}
plugin: ${{ matrix.test.plugin }}
version: ${{ matrix.test.version || 'latest' }}

0 comments on commit f78b205

Please sign in to comment.