Skip to content

Commit 43dbab1

Browse files
Update caching for dependencies in CI (#235)
1 parent a2814b6 commit 43dbab1

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,11 @@ jobs:
3131
- name: Cache dependencies
3232
uses: actions/cache@v2
3333
with:
34-
path: |
35-
~/.stack
36-
.stack-work
37-
key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml.lock') }}
38-
restore-keys: |
39-
${{ runner.os }}-stack
34+
path: ~/.stack
35+
key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('trypurescript.cabal') }}
4036

4137
- name: Build server code
42-
run: |
43-
stack --no-terminal -j1 build
38+
run: stack --no-terminal -j1 build
4439

4540
- name: Build server assets
4641
if: github.event_name == 'release'

0 commit comments

Comments
 (0)