From 3f74c0485e6c2525225d44a19b12540ac237f190 Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Thu, 8 Aug 2024 17:13:10 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95abfe9..cf6dfb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,10 +54,6 @@ jobs: run: cargo build timeout-minutes: 90 - - name: Build the node individually in release mode - run: cargo build --package minimal-template-node --release - timeout-minutes: 90 - - name: Run clippy run: | SKIP_WASM_BUILD=1 cargo clippy --all-targets --locked --workspace --quiet @@ -72,6 +68,14 @@ jobs: run: SKIP_WASM_BUILD=1 cargo doc --workspace --no-deps timeout-minutes: 15 + # This is mentioned as example in the README: + - name: Build the node individually in release mode + run: | + # Save some space from debug builds + rm -rf ./target + cargo build --package minimal-template-node --release + timeout-minutes: 90 + build-docker: runs-on: ubuntu-latest steps: