-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix path to script on general-check.yaml
- Loading branch information
devworlds
committed
Dec 31, 2024
1 parent
b5410a1
commit 454cb15
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
cargo build --manifest-path=benches/Cargo.toml | ||
cargo build --manifest-path=protocols/Cargo.toml | ||
cargo build --manifest-path=roles/Cargo.toml | ||
cargo build --manifest-path=utils/Cargo.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
for manifest in \ | ||
benches/Cargo.toml \ | ||
common/Cargo.toml \ | ||
protocols/Cargo.toml \ | ||
roles/Cargo.toml \ | ||
utils/Cargo.toml \ | ||
utils/message-generator/Cargo.toml; do | ||
cargo clippy --manifest-path=$manifest -- -D warnings -A dead-code | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
for manifest in \ | ||
benches/Cargo.toml \ | ||
common/Cargo.toml \ | ||
protocols/Cargo.toml \ | ||
roles/Cargo.toml \ | ||
utils/Cargo.toml \ | ||
utils/message-generator/Cargo.toml; do | ||
cargo fmt --all --manifest-path=$manifest -- --check | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
for dir in \ | ||
common \ | ||
utils/buffer \ | ||
protocols/v2/binary-sv2/no-serde-sv2/codec \ | ||
protocols/v2/binary-sv2/serde-sv2 \ | ||
protocols/v2/binary-sv2/binary-sv2 \ | ||
protocols/v2/const-sv2 \ | ||
protocols/v2/framing-sv2 \ | ||
protocols/v2/noise-sv2 \ | ||
protocols/v2/codec-sv2 \ | ||
protocols/v2/subprotocols/common-messages \ | ||
protocols/v2/subprotocols/job-declaration \ | ||
protocols/v2/subprotocols/mining \ | ||
protocols/v2/subprotocols/template-distribution \ | ||
protocols/v2/sv2-ffi \ | ||
protocols/v2/roles-logic-sv2 \ | ||
protocols/v1 \ | ||
utils/bip32-key-derivation \ | ||
utils/error-handling \ | ||
utils/key-utils \ | ||
roles/roles-utils/network-helpers \ | ||
roles/roles-utils/rpc; do | ||
cargo semver-checks --manifest-path="$dir/Cargo.toml" | ||
done |