From 6c6c37e29392ff667e90e1aad0b0286d3844a97b Mon Sep 17 00:00:00 2001 From: Ciffelia Date: Sun, 9 Oct 2022 23:44:43 +0900 Subject: [PATCH] ci: cache cargo dependencies --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2415097..b1496b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,8 @@ jobs: profile: minimal override: true + - uses: ciffelia/cargo-cache-action@v1 + - name: Check run: cargo check @@ -35,6 +37,8 @@ jobs: components: rustfmt override: true + - uses: ciffelia/cargo-cache-action@v1 + - name: Check code format run: cargo fmt --all -- --check @@ -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