Skip to content

Commit

Permalink
refactor: remove redundant if
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jan 22, 2024
1 parent fc83b2b commit 029a410
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ jobs:
stack-arguments: --resolver ${{ matrix.resolver }}
cache-prefix: ${{ matrix.resolver }}/

- if:
shell: bash
- shell: bash
run: |
[[ "${{ steps.stack.outputs.compiler }}" = ${{ format('ghc-{0}', matrix.ghc) }} ]]
[[ "${{ steps.stack.outputs.compiler-version }}" = ${{ matrix.ghc }} ]]
Expand Down

0 comments on commit 029a410

Please sign in to comment.