File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 3636 fail-fast : false
3737 matrix :
3838 plan :
39- - { ghc: "912", stack: "stack --stack-yaml=stack912.yaml" }
39+ - { ghc: "912", stack: "stack --stack-yaml=stack912.yaml --system-ghc --no-install-ghc" }
40+ # Use the preinstalled stack and ghc (3.5.1 and 9.12.2 as of 2025-04).
41+ # This risks breaking when github updates these, but avoids a lot of wasted work.
4042
4143 steps :
4244
@@ -69,22 +71,19 @@ jobs:
6971 restore-keys : |
7072 ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}
7173
72- # - name: Install stack
74+ # - name: Install specific stack version
7375 # run: |
7476 # mkdir -p ~/.local/bin
7577 # export PATH=~/.local/bin:$PATH
7678 # # curl -sL https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack
7779 # if [[ ! -x ~/.local/bin/stack ]]; then curl -sL https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'; chmod a+x ~/.local/bin/stack; fi
7880 # stack --version
7981 #
80- # - name: Install GHC
82+ # - name: Install specific GHC version
8183 # env:
8284 # stack: ${{ matrix.plan.stack }}
8385 # run: |
8486 # $stack setup --install-ghc
85- #
86- # Instead, use preinstalled stack and ghc. This risks breaking when github updates these,
87- # but saves a lot of wasteful carbon emissions. As of 2025-04 they are 3.5.1 and 9.12.2.
8887
8988 - name : Install haskell deps
9089 env :
You can’t perform that action at this time.
0 commit comments