Skip to content

Commit

Permalink
Setup caching for CI
Browse files Browse the repository at this point in the history
Automatically caches compiled dependencies and - more importantly in this case - the cargo
registry. Downloading the registry currently takes up the majority of CI time.
  • Loading branch information
LingMan authored and lambda-fairy committed Jan 5, 2023
1 parent 81c3ba4 commit 18e34d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13'
- name: Setup cache
uses: Swatinem/rust-cache@v2
- name: Test (no features)
run: cargo test --no-default-features
- name: Test (all features)
Expand Down

0 comments on commit 18e34d3

Please sign in to comment.