Skip to content

Commit 1ab6b8f

Browse files
committed
Final cleanup.
1 parent 7313c56 commit 1ab6b8f

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/build-all.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ jobs:
99
name: ${{ matrix.os-name }}-build
1010
runs-on: ${{ matrix.os }}
1111
container: ${{ matrix.container }}
12-
env:
13-
# TODO: Use either this or the matrix value
14-
GHC_VERSION: '9.8.2'
15-
CARGO_TARGET: ${{ matrix.cargo-target }}
16-
1712
defaults:
1813
run:
1914
shell: bash
@@ -87,8 +82,8 @@ jobs:
8782
- uses: Swatinem/rust-cache@v2
8883
with:
8984
prefix-key: ${{ matrix.os }}
90-
# This is because the home directory inside containers is different than the one outside of them.
91-
# LinuxARM needs this for its own caching to work.
85+
# The home directory inside containers is different than the one outside of them.
86+
# LinuxARM needs this for its caching to work inside haskell-static-alpine.
9287
cache-directories: ${{ runner.temp }}/_github_home/.cargo
9388

9489
- name: Debugging information
@@ -131,7 +126,6 @@ jobs:
131126
# We compute the cache key based on the solved install plan instead of just
132127
# hashing the `.cabal` file, since there are many kinds of changes that will
133128
# cause `.cabal` to change (e.g. adding new source modules).
134-
#
135129
- name: Compute cache key (not ARM Linux)
136130
if: ${{ matrix.os != 'LinuxARM' }}
137131
id: compute-cache-key
@@ -160,11 +154,11 @@ jobs:
160154
name: Cache dist-newstyle
161155
with:
162156
path: ${{ github.workspace }}/dist-newstyle
163-
key: ${{ matrix.os-name }}-${{ env.GHC_VERSION }}-dist-newstyle-${{ github.sha }}
157+
key: ${{ matrix.os-name }}-${{ matrix.ghc }}-dist-newstyle-${{ github.sha }}
164158
restore-keys: |
165-
${{ matrix.os-name }}-${{ env.GHC_VERSION }}-dist-newstyle-${{ env.parent_commit }}
166-
${{ matrix.os-name }}-${{ env.GHC_VERSION }}-dist-newstyle-
167-
${{ matrix.os-name }}-${{ env.GHC_VERSION }}-
159+
${{ matrix.os-name }}-${{ matrix.ghc }}-dist-newstyle-${{ env.parent_commit }}
160+
${{ matrix.os-name }}-${{ matrix.ghc }}-dist-newstyle-
161+
${{ matrix.os-name }}-${{ matrix.ghc }}-
168162
169163
- name: Update vendored binaries
170164
run: |

0 commit comments

Comments
 (0)