You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
does /home/runner/.ghcup/bin/cabal update (under Setting up cabal) but it seems to not affect cabal build. Maybe there are two conflicting cabals in the PATH with different .cabal dirs?
This commit introduces a new boolean input `cabal-update` that defaults to `true`.
If set to `false`, the `cabal update` step will be skipped.
The new flag `cabal-update` is proper boolean, it only accepts the YAML 1.2 truth values `true` and `false` (also in captial and uppercase).
This is contrast to other "boolean" flags that are "unset" by default and can be "set" with any non-empty string.
To test that `cabal update` happens, this commit also introduces a new Haskell test project into CI that depends on a common Hackage package (`base-orphans`).
Original commits:
* Fix#29: new input 'cabal-update: false' to turn off 'cabal update'
* Test 'cabal-update: false'
* README: Add 'cabal-update' to table of inputs
* Accept YAML 1.2 booleans as values for 'cabal-update'
* CI: test 'cabal-update: true': project with Hackage dependency
* Default value for 'cabal-update'
* CI: use cabal_update (underscore) in matrix
* Fixup: project with Hackage dependency
* Work around #158
* Extra clarification of boolean vs "boolean" inputs
This test:
actions/.github/workflows/workflow.yml
Lines 45 to 47 in ed06300
does
/home/runner/.ghcup/bin/cabal update
(under Setting up cabal) but it seems to not affectcabal build
. Maybe there are two conflictingcabal
s in the PATH with different.cabal
dirs?CI run: https://github.com/haskell/actions/actions/runs/3851999748/jobs/6563739708#step:3:172
Log: 13_GHC 8.2.2, Cabal 2.4.1.0 - ubuntu-latest.txt
The text was updated successfully, but these errors were encountered: