From 1840a396a6b3a4185adc9f4ecd04ebaa6f938fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Wed, 27 Nov 2024 13:03:08 +0100 Subject: [PATCH] chore(ci): check instead of build --- .github/workflows/bolt_boost_ci.yml | 14 ++++++++++---- .github/workflows/bolt_cli_ci.yml | 14 ++++++++++---- .github/workflows/bolt_sidecar_ci.yml | 14 ++++++++++---- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bolt_boost_ci.yml b/.github/workflows/bolt_boost_ci.yml index 6fa929fb..3917ec64 100644 --- a/.github/workflows/bolt_boost_ci.yml +++ b/.github/workflows/bolt_boost_ci.yml @@ -34,11 +34,15 @@ jobs: with: cache-on-failure: true - - name: Build - run: cd bolt-boost && cargo build + - name: Check + run: | + cd bolt-boost + cargo check - name: Lint Code with Clippy - run: cd bolt-boost && cargo clippy --all-targets --all-features -- -D warnings + run: | + cd bolt-boost + cargo clippy --all-targets --all-features -- -D warnings - name: Install cargo-nextest uses: baptiste0928/cargo-install@v3 @@ -53,6 +57,8 @@ jobs: tags: tag:ci - name: Run bolt-boost tests - run: cd bolt-boost && cargo nextest run --workspace --retries 3 + run: | + cd bolt-boost + cargo nextest run --workspace --retries 3 env: RPC_URL: ${{ secrets.RPC_URL }} diff --git a/.github/workflows/bolt_cli_ci.yml b/.github/workflows/bolt_cli_ci.yml index 2ed94089..f3e33873 100644 --- a/.github/workflows/bolt_cli_ci.yml +++ b/.github/workflows/bolt_cli_ci.yml @@ -40,11 +40,15 @@ jobs: with: cache-on-failure: true - - name: Build - run: cd bolt-cli && cargo build + - name: Check + run: | + cd bolt-cli + cargo check - name: Lint Code with Clippy - run: cd bolt-cli && cargo clippy --all-targets --all-features -- -D warnings + run: | + cd bolt-cli + cargo clippy --all-targets --all-features -- -D warnings - name: Install cargo-nextest uses: baptiste0928/cargo-install@v3 @@ -64,4 +68,6 @@ jobs: tags: tag:ci - name: Run bolt-cli tests - run: cd bolt-cli && cargo nextest run --workspace --retries 3 + run: | + cd bolt-cli + cargo nextest run --workspace --retries 3 diff --git a/.github/workflows/bolt_sidecar_ci.yml b/.github/workflows/bolt_sidecar_ci.yml index 676ac138..7f9ca781 100644 --- a/.github/workflows/bolt_sidecar_ci.yml +++ b/.github/workflows/bolt_sidecar_ci.yml @@ -40,11 +40,15 @@ jobs: with: cache-on-failure: true - - name: Build - run: cd bolt-sidecar && cargo build + - name: Check + run: | + cd bolt-sidecar + cargo build - name: Lint Code with Clippy - run: cd bolt-sidecar && cargo clippy --all-targets --all-features -- -D warnings + run: | + cd bolt-sidecar + cargo clippy --all-targets --all-features -- -D warnings - name: Install cargo-nextest uses: baptiste0928/cargo-install@v3 @@ -59,6 +63,8 @@ jobs: tags: tag:ci - name: Run bolt-sidecar tests - run: cd bolt-sidecar && cargo nextest run --workspace --retries 3 + run: | + cd bolt-sidecar + cargo nextest run --workspace --retries 3 env: RPC_URL: ${{ secrets.RPC_URL }}