-
-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into alex/4057-2
- Loading branch information
Showing
53 changed files
with
1,984 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ runs: | |
sudo chown -R $USER /usr/local/.ghcup | ||
shell: bash | ||
|
||
- uses: haskell-actions/[email protected].5 | ||
- uses: haskell-actions/[email protected].6 | ||
id: HaskEnvSetup | ||
with: | ||
ghc-version : ${{ inputs.ghc }} | ||
|
@@ -116,3 +116,18 @@ runs: | |
- name: "Remove freeze file" | ||
run: rm -f cabal.project.freeze | ||
shell: bash | ||
|
||
# Make sure to clear all unneeded `ghcup`` caches. | ||
# At some point, we were running out of disk space, see issue | ||
# https://github.com/haskell/haskell-language-server/issues/4386 for details. | ||
# | ||
# Using "printf" debugging (`du -sh *` and `df -h /`) and binary searching, | ||
# we figured out that `ghcup` caches are taking up a sizable portion of the | ||
# disk space. | ||
# Thus, we remove anything we don't need, especially caches and temporary files. | ||
# For got measure, we also make sure no other tooling versions are | ||
# installed besides the ones we explicitly want. | ||
- name: "Remove ghcup caches" | ||
if: runner.os == 'Linux' | ||
run: ghcup gc --ghc-old --share-dir --hls-no-ghc --cache --tmpdirs --unset | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,7 +127,7 @@ jobs: | |
example: ['cabal', 'lsp-types'] | ||
|
||
steps: | ||
- uses: haskell-actions/[email protected].3 | ||
- uses: haskell-actions/[email protected].6 | ||
with: | ||
ghc-version : ${{ matrix.ghc }} | ||
cabal-version: ${{ matrix.cabal }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.