Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Submodule workspace #888

Merged
merged 14 commits into from
Feb 15, 2024
6 changes: 4 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
with:
toolchain: nightly
components: rustfmt

- name: git submodule update
run: git submodule update --init --recursive
- name: cargo fmt
run: cargo +nightly fmt --all -- --check

Expand All @@ -35,7 +36,8 @@ jobs:
with:
toolchain: stable
components: clippy

- name: git submodule update
run: git submodule update --init --recursive
- name: cargo clippy
run: cargo clippy --workspace --all-features -- -D warnings

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
toolchain: 1.75.0
override: true

- name: git submodule update
run: git submodule update --init --recursive
- name: test
run: cargo test --workspace --all-features --exclude documentation
129 changes: 106 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ name = "arbiter"
path = "bin/main.rs"

[[example]]
name = "project"
path = "examples/project/main.rs"
name = "template"
path = "examples/arbiter-template/src/main.rs"

[workspace.dependencies]
# Local
arbiter-bindings = { path = "arbiter-bindings" }
arbiter-core = { path = "arbiter-core" }
arbiter-engine = { path = "arbiter-engine" }
arbiter-macros = { path = "arbiter-macros" }
arbiter-bindings = "0.1.4"
arbiter-core = "0.10.1"
arbiter-engine = "0.2.0"
arbiter-macros = "0.1.1"

revm = { version = "5.0.0", features = ["ethersdb", "std", "serde"] }
revm-primitives = "=2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/arbiter-template
55 changes: 0 additions & 55 deletions examples/project/behaviors/incrementer.rs

This file was deleted.

12 changes: 0 additions & 12 deletions examples/project/behaviors/mod.rs

This file was deleted.

1 change: 0 additions & 1 deletion examples/project/bindings/mod.rs

This file was deleted.

Loading
Loading