Skip to content

Commit

Permalink
Merge pull request #446 from chainbound/ci-check
Browse files Browse the repository at this point in the history
chore(ci): check instead of build
  • Loading branch information
merklefruit authored Nov 27, 2024
2 parents 0d83489 + 1840a39 commit 1981ee0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
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 }}

0 comments on commit 1981ee0

Please sign in to comment.