From e3289241930bd5a1764001641f11d6184de2d8bc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 30 Dec 2022 12:50:37 +0100 Subject: [PATCH] Add rust-cache in CI workflow Signed-off-by: Matthias Beyer --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e4be523..cd61d99 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,6 +16,7 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - name: Build run: cargo build --verbose - name: Run tests @@ -26,6 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - name: Build-examples run: cargo build --examples --verbose @@ -34,6 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: 1.65.0 @@ -45,6 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: 1.65.0