Skip to content

Commit 04d6c25

Browse files
committed
Cabal update after installing ghc
1 parent b001495 commit 04d6c25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/scripts/test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ test_all_hls() {
3838
bin_noexe=${bin/.exe/}
3939
if ! [[ "${bin_noexe}" =~ "haskell-language-server-wrapper" ]] && ! [[ "${bin_noexe}" =~ "~" ]] ; then
4040
if ghcup install ghc --set "${bin_noexe/haskell-language-server-/}" ; then
41+
ecabal update
4142
"${hls}" typecheck "${test_module}" || fail "failed to typecheck with HLS for GHC ${bin_noexe/haskell-language-server-/}"
4243
else
4344
fail "GHCup failed to install GHC ${bin_noexe/haskell-language-server-/}"
@@ -55,8 +56,6 @@ env
5556
# ensure ghcup
5657
install_ghcup
5758

58-
ecabal update
59-
6059
# unpack
6160
TARBALL_PREFIX="haskell-language-server"
6261
mkdir -p "${GHCUP_BIN}"

0 commit comments

Comments
 (0)