From 500047a1d99c4d411355a523d0c5bf5fc5742770 Mon Sep 17 00:00:00 2001 From: Adam Andersson Date: Wed, 10 May 2023 13:52:05 +0200 Subject: [PATCH] cache dependencies --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd763802..d1dd70b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 - run: cargo check test: @@ -23,6 +24,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 - run: cargo test deploy: @@ -31,6 +33,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 - uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' @@ -44,6 +47,7 @@ jobs: - uses: dtolnay/rust-toolchain@nightly with: components: rustfmt + - uses: Swatinem/rust-cache@v2 - run: cargo fmt --check clippy: @@ -54,6 +58,7 @@ jobs: - uses: dtolnay/rust-toolchain@nightly with: components: clippy + - uses: Swatinem/rust-cache@v2 - run: cargo clippy -- -Dwarnings typos: