From 727207778bdfeeff731b2cff83f21b61e90f1b13 Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Wed, 21 Apr 2021 13:41:02 +0530 Subject: [PATCH] update ci file --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b49322..778c945 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,9 @@ jobs: toolchain: stable override: true + - name: Rust Cache + uses: Swatinem/rust-cache@v1.2.0 + - name: Run cargo check uses: actions-rs/cargo@v1 with: @@ -41,6 +44,8 @@ jobs: profile: minimal toolchain: stable override: true + - name: Rust Cache + uses: Swatinem/rust-cache@v1.2.0 - name: Run cargo test uses: actions-rs/cargo@v1 @@ -61,6 +66,8 @@ jobs: toolchain: stable override: true components: rustfmt, clippy + - name: Rust Cache + uses: Swatinem/rust-cache@v1.2.0 - name: Run cargo fmt uses: actions-rs/cargo@v1 @@ -70,6 +77,7 @@ jobs: - name: Run cargo clippy uses: actions-rs/cargo@v1 + continue-on-error: true with: command: clippy args: -- -D warnings @@ -91,6 +99,8 @@ jobs: toolchain: stable target: ${{ matrix.target }} override: true + - name: Rust Cache + uses: Swatinem/rust-cache@v1.2.0 - uses: actions-rs/cargo@v1 with: use-cross: true