Skip to content

Commit 1a35c5e

Browse files
committed
on macos, let's use caches too for speedup (#384)
This way, linux will always run the scripts, whereas macos and linux can leverage the time savings through extraction.
1 parent 96bb4d4 commit 1a35c5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
if: startsWith(matrix.os, 'macos')
2727
run:
2828
brew install tree openssl
29+
- run: git lfs fetch && git lfs checkout
30+
if: startsWith(matrix.os, 'macos')
2931
- name: test
3032
env:
3133
CI: true
@@ -47,7 +49,7 @@ jobs:
4749
with:
4850
command: check
4951
args: --all --bins --tests --examples
50-
- run: git lfs fetch && git lfs checkout && cargo test --package git-ref -- --nocapture
52+
- run: git lfs fetch && git lfs checkout
5153
- name: "Test (crossterm)"
5254
uses: actions-rs/cargo@v1
5355
with:

0 commit comments

Comments
 (0)