Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
CI: use cabal_update (underscore) in matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Jan 6, 2023
1 parent 68839e4 commit 93685c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc: ["latest", "8.4.4"]
cabal: ["latest", "3.2.0.0"]
cabal-update: [false]
cabal_update: ["false"]
# The following tests do not set 'cabal-update', which defaults to 'true' then.
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
cabal-update: ${{ matrix.cabal-update }}
cabal-update: ${{ matrix.cabal_update }}

- name: Test runghc
run: |
Expand All @@ -91,7 +91,7 @@ jobs:
run: cabal run

- name: Build and run test with Hackage dependency
if: ${{ matrix.cabal-update != false }}
if: ${{ matrix.cabal_update != 'false' }}
working-directory: setup/__tests__/project-with-hackage-dependency
run: cabal build && cabal run

Expand Down

0 comments on commit 93685c6

Please sign in to comment.