diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0f836b80c71..fe5fcbcb873 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,6 +17,8 @@ jobs: steps: - name: "ACTIONS: Checkout" uses: actions/checkout@v4 + with: + submodules: recursive - name: "Install: Set cargo path" run: echo "/tmp/cargo/bin" >> $GITHUB_PATH @@ -24,6 +26,28 @@ jobs: - name: "Install: Rust toolchain" uses: dsherret/rust-toolchain-file@v1 + - name: "Install: Foundry" + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + + - name: "Install: Node.js" + uses: actions/setup-node@v4 + with: + node-version: 20.x + + - name: "Show: Versioning" + run: | + ./scripts/gear.sh show + forge --version + + - name: "Check: ethexe contracts" + run: | + cd ethexe/contracts + forge fmt --check + forge build --sizes + forge test -vvv + - name: "Check formatting: Gear" run: ./scripts/gear.sh format gear --check diff --git a/ethexe/observer/Cargo.toml b/ethexe/observer/Cargo.toml index 4419eb5abcf..4cec8acf115 100644 --- a/ethexe/observer/Cargo.toml +++ b/ethexe/observer/Cargo.toml @@ -32,7 +32,7 @@ alloy = { workspace = true, features = [ async-stream.workspace = true async-trait.workspace = true parity-scale-codec = { workspace = true, features = ["std", "derive"] } -tokio = { workspace = true, features = ["fs"] } +tokio = { workspace = true, features = ["rt-multi-thread", "fs"] } futures.workspace = true reqwest = { workspace = true, features = ["default-tls", "json"] } log.workspace = true diff --git a/ethexe/observer/src/observer.rs b/ethexe/observer/src/observer.rs index 1610823a0ed..46938fa0ca5 100644 --- a/ethexe/observer/src/observer.rs +++ b/ethexe/observer/src/observer.rs @@ -228,7 +228,7 @@ mod tests { wat2wasm_with_validate(s, true) } - #[tokio::test] + #[tokio::test(flavor = "multi_thread")] async fn test_deployment() -> Result<()> { let anvil = Anvil::new().try_spawn()?; let ethereum_rpc = anvil.ws_endpoint();