Skip to content

Commit 53ae879

Browse files
committed
adds foundry action
1 parent 11e8f94 commit 53ae879

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/rust-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ on:
55
branches: [main]
66
pull_request:
77

8-
# simplest example of using the rust-base action
98
jobs:
109
rust-base:
1110
uses: init4tech/actions/.github/workflows/rust-base.yml@main
1211
with:
1312
requires-private-deps: true
13+
install-foundry: true
1414
secrets:
15-
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
16-
15+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ path = "bin/builder.rs"
2121
name = "transaction-submitter"
2222
path = "bin/submit_transaction.rs"
2323

24+
[features]
25+
integration = []
26+
2427
[dependencies]
2528
init4-bin-base = "0.3"
2629

tests/block_builder_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mod tests {
2626
/// This test sets up a simulated environment using Anvil, creates a block builder,
2727
/// and verifies that the block builder can successfully build a block containing
2828
/// transactions from multiple senders.
29-
#[ignore = "integration test"]
29+
#[cfg(feature = "integration")]
3030
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
3131
async fn test_handle_build() {
3232
setup_logging();

0 commit comments

Comments
 (0)