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

feat: refactor make workspace #42

Merged
merged 4 commits into from
Sep 2, 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
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ jobs:
name: Clippy
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
matrix:
target: [ "--all-targets", "--bin stateless-block-verifier" ]
features: [ "--features=\"bin-deps\"", "--features=\"bin-deps, dev\"", "--all-features" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand All @@ -61,8 +57,18 @@ jobs:
components: clippy
- name: cargo cache
uses: Swatinem/rust-cache@v2
- name: clippy
run: cargo clippy --workspace ${{ matrix.target }} ${{ matrix.features }} -- -D warnings
- name: clippy default
run: cargo clippy --workspace -- -D warnings
- name: clippy dev
run: cargo clippy --workspace --features dev -- -D warnings
- name: clippy metrics
run: cargo clippy --workspace --features metrics -- -D warnings
- name: clippy all
run: cargo clippy --workspace --all-features -- -D warnings
- name: clippy test
run: cargo clippy --workspace --tests -- -D warnings
- name: clippy test all
run: cargo clippy --workspace --tests --all-features -- -D warnings

integration-tests:
needs: [ clippy ]
Expand All @@ -88,5 +94,5 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- run: cargo run --release --features bin-deps --package stateless-block-verifier --bin stateless-block-verifier -- -k run-file testdata/mainnet_blocks/flatten-proofs/*
- run: cargo run --release --features bin-deps --package stateless-block-verifier --bin stateless-block-verifier -- -k run-file testdata/sepolia_blocks/*
- run: cargo run --release --package stateless-block-verifier -- -k run-file testdata/mainnet_blocks/flatten-proofs/*
- run: cargo run --release --package stateless-block-verifier -- -k run-file testdata/sepolia_blocks/*
Loading