Skip to content

Commit

Permalink
Adjust CI to our needs
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jun 24, 2024
1 parent 40891bc commit e21e961
Show file tree
Hide file tree
Showing 4 changed files with 387 additions and 122 deletions.
3 changes: 0 additions & 3 deletions .github/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ install_ghcup() {
else
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_MINIMAL=1 sh
source "$(dirname "${GHCUP_BIN}")/env"
# make sure we use the vanilla channel for installing binaries
# see https://github.com/haskell/ghcup-metadata/pull/166#issuecomment-1893075575
ghcup config set url-source https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-vanilla-0.0.8.yaml
ghcup install cabal --set "${BOOTSTRAP_HASKELL_CABAL_VERSION}"
fi
}
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ test_all_hls() {
fi
fi
done
# install the recommended GHC version so the wrapper can launch HLS
ghcup install ghc --set recommended
ghcup install ghc --set recommended
"$bindir/haskell-language-server-wrapper${ext}" typecheck "${test_module}" || fail "failed to typecheck with HLS wrapper"
ghcup rm ghc "$(ghc --numeric-version)"
}

uname -a
Expand Down
Loading

0 comments on commit e21e961

Please sign in to comment.