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