Skip to content

Commit

Permalink
Add rust-cache to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhelsing committed Apr 8, 2023
1 parent 829cdd4 commit a6a01f4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
toolchain: stable
override: true

- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
Expand All @@ -40,6 +43,9 @@ jobs:
toolchain: stable
override: true

- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
Expand All @@ -60,6 +66,9 @@ jobs:
override: true
components: rustfmt, clippy

- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit a6a01f4

Please sign in to comment.