mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] do not install stack install hook (#6377)
This commit is contained in:
@@ -28,3 +28,4 @@ export HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650
|
|||||||
export HOMEBREW_CASK_OPTS="--no-quarantine"
|
export HOMEBREW_CASK_OPTS="--no-quarantine"
|
||||||
|
|
||||||
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
|
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
|
||||||
|
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1
|
||||||
|
|||||||
@@ -16,4 +16,13 @@ Describe "Haskell" {
|
|||||||
"cabal --version" | Should -ReturnZeroExitCode
|
"cabal --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Context "Stack" {
|
||||||
|
It "Stack" {
|
||||||
|
"stack --version" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
|
|
||||||
|
It "Stack hook is not installed" {
|
||||||
|
"$HOME/.stack/hooks/ghc-install.sh" | Should -Not -Exist
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user