Skip to content

Commit

Permalink
feat(ci): apply changes from ethexe repository (#4059)
Browse files Browse the repository at this point in the history
  • Loading branch information
StackOverflowExcept1on authored Jul 16, 2024
1 parent 5cfb148 commit 7576449
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,37 @@ jobs:
steps:
- name: "ACTIONS: Checkout"
uses: actions/checkout@v4
with:
submodules: recursive

- name: "Install: Set cargo path"
run: echo "/tmp/cargo/bin" >> $GITHUB_PATH

- 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

Expand Down
2 changes: 1 addition & 1 deletion ethexe/observer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ethexe/observer/src/observer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7576449

Please sign in to comment.