feat: add Cancun configuration #685
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ master, next ] | |
pull_request: | |
branches: [ master, next ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Rustfmt | |
run: cargo fmt --all -- --check | |
- name: clippy | |
run: cargo clippy --workspace -- -D warnings | |
- name: clippy no-std | |
run: cargo clippy --workspace --no-default-features --all-targets -- -D warnings | |
- name: clippy with features | |
run: cargo clippy --workspace --all-features --all-targets -- -D warnings | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --verbose | |
- name: Build no-std | |
run: cargo build --no-default-features | |
- name: Build all-features | |
run: cargo build --all-features | |
- name: Run tests | |
run: cargo test --verbose | |
jsontests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Run tests | |
run: | | |
cargo run --release --verbose -p jsontests -- \ | |
jsontests/res/ethtests/GeneralStateTests/stArgsZeroOneBalance/ \ | |
jsontests/res/ethtests/GeneralStateTests/stCodeCopyTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/stExample/ \ | |
jsontests/res/ethtests/GeneralStateTests/stSelfBalance \ | |
jsontests/res/ethtests/GeneralStateTests/stSLoadTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmArithmeticTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmBitwiseLogicOperation/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmIOandFlowOperations/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmLogTest/ \ | |
jsontests/res/ethtests/GeneralStateTests/VMTests/vmTests/ \ | |
jsontests/res/ethtests/GeneralStateTests/stEIP150singleCodeGasPrices/eip2929.json | |