Skip to content

Commit

Permalink
ci: cache cargo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ciffelia committed Oct 9, 2022
1 parent 1431f63 commit 6c6c37e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
profile: minimal
override: true

- uses: ciffelia/cargo-cache-action@v1

- name: Check
run: cargo check

Expand All @@ -35,6 +37,8 @@ jobs:
components: rustfmt
override: true

- uses: ciffelia/cargo-cache-action@v1

- name: Check code format
run: cargo fmt --all -- --check

Expand All @@ -51,6 +55,8 @@ jobs:
profile: minimal
components: clippy

- uses: ciffelia/cargo-cache-action@v1

- name: Run lint
run: cargo clippy --all-targets --all-features -- -D warnings

Expand Down

0 comments on commit 6c6c37e

Please sign in to comment.