diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85a5d8852..b0b25f9b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: cache-on-failure: true - name: Build - run: cargo build --all-targets --all-features --verbose + run: cargo build --all-targets --all-features --workspace --verbose - name: Run tests run: cargo test --all-features --all-targets --workspace --exclude spec-tests --verbose @@ -56,4 +56,4 @@ jobs: run: cargo +nightly fmt --all --check - name: Check clippy - run: cargo +nightly clippy --all-targets --all-features --verbose -- -D warnings + run: cargo +nightly clippy --all-targets --all-features --workspace --verbose -- -D warnings diff --git a/justfile b/justfile index 0728b94e9..b9453b19d 100644 --- a/justfile +++ b/justfile @@ -13,9 +13,9 @@ run-spec-tests filter="": fmt: cargo +nightly fmt --all lint: fmt - cargo +nightly clippy --all-targets --all-features + cargo +nightly clippy --all-targets --all-features --workspace build: - cargo build --all-targets --all-features + cargo build --all-targets --all-features --workspace run-ci: lint build test ec +command: cargo run -p ethereum-consensus --features ec {{command}}