We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4538d75 commit 2f57807Copy full SHA for 2f57807
.github/workflows/build.yml
@@ -137,6 +137,12 @@ jobs:
137
path: ~/.cache
138
key: cache-${{ matrix.os }}-${{ hashFiles('devbox.lock', 'cabal.project.freeze') }}
139
140
+ - name: Cache cabal state
141
+ uses: actions/cache@v4
142
+ with:
143
+ path: ~/.cabal
144
+ key: state-${{ matrix.os }}-${{ hashFiles('devbox.lock', 'cabal.project.freeze') }}
145
+
146
- name: Cache build artifacts
147
uses: actions/cache@v4
148
with:
@@ -154,7 +160,7 @@ jobs:
154
160
run: devbox run -- npm install
155
161
156
162
- name: Configure
157
- run: devbox run -- cabal configure --enable-tests -O2
163
+ run: XDG_STATE_HOME=~/.cabal devbox run -- cabal configure --enable-tests -O2
158
164
159
165
- name: Build
166
run: devbox run -- cabal build
0 commit comments