Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): check instead of build #446

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/bolt_boost_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
14 changes: 10 additions & 4 deletions .github/workflows/bolt_cli_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
14 changes: 10 additions & 4 deletions .github/workflows/bolt_sidecar_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}