Skip to content

Commit 18e34d3

Browse files
LingManlambda-fairy
authored andcommitted
Setup caching for CI
Automatically caches compiled dependencies and - more importantly in this case - the cargo registry. Downloading the registry currently takes up the majority of CI time.
1 parent 81c3ba4 commit 18e34d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
uses: maxim-lobanov/setup-xcode@v1
3131
with:
3232
xcode-version: '13'
33+
- name: Setup cache
34+
uses: Swatinem/rust-cache@v2
3335
- name: Test (no features)
3436
run: cargo test --no-default-features
3537
- name: Test (all features)

0 commit comments

Comments
 (0)