Skip to content

Commit

Permalink
fix: revm semver violation (#56)
Browse files Browse the repository at this point in the history
* fix: revm semver violation

bluealloy/revm#1812

* ci: check dependency semver
  • Loading branch information
xJonathanLEI authored Sep 30, 2024
1 parent 9f4b54f commit 3647076
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,30 @@ jobs:
exit 1
fi
deps-semver:
name: "Check upstream SemVer violations"
runs-on: ["runs-on", "runner=8cpu-linux-x64", "run-id=${{ github.run_id }}"]
steps:
- name: "Checkout sources"
uses: "actions/checkout@v4"

- name: "Install sp1up"
run: |
curl -L https://sp1.succinct.xyz | bash
echo "$HOME/.sp1/bin" >> $GITHUB_PATH
- name: "Install SP1 toolchain"
run: |
sp1up
- name: "Remove lock files"
run: |
find -name Cargo.lock -type f -exec rm {} \;
- name: "Build without lock files"
run: |
cargo build --all --all-targets
fmt:
name: "Check code format"
runs-on: ["runs-on", "runner=8cpu-linux-x64", "run-id=${{ github.run_id }}"]
Expand Down
2 changes: 2 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ revm-primitives = { version = "9.0.0", features = [
"serde",
], default-features = false }
revm-inspectors = "0.6"
revm-interpreter = { version = "=10.0.1", default-features = false }
revm-precompile = { version = "=11.0.1", default-features = false }

# alloy
alloy-primitives = "0.8.0"
Expand Down
2 changes: 2 additions & 0 deletions bin/client-eth/Cargo.lock

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

2 changes: 2 additions & 0 deletions bin/client-linea/Cargo.lock

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

2 changes: 2 additions & 0 deletions bin/client-op/Cargo.lock

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

2 changes: 2 additions & 0 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ reth-chainspec.workspace = true
reth-optimism-chainspec.workspace = true

# revm
revm-interpreter.workspace = true
revm-precompile.workspace = true
revm-primitives.workspace = true

# alloy
Expand Down

0 comments on commit 3647076

Please sign in to comment.