From 26cc73b7d95f55ae7431ef25b3a1a6b24b807ad7 Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Wed, 29 May 2024 13:10:04 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 781f260..499826d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,20 @@ jobs: large-packages: false swap-storage: false - - name: Check if it compiles - id: check-compilation - run: cargo check && cargo test + - name: Build the template + run: cargo build timeout-minutes: 90 + + - name: Run clippy + run: | + SKIP_WASM_BUILD=1 cargo clippy --all-targets --locked --workspace --quiet + SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --workspace --quiet + timeout-minutes: 20 + + - name: Run the tests + run: cargo test + timeout-minutes: 30 + + - name: Build the docs + run: cargo doc --all-features --workspace --no-deps + timeout-minutes: 30