Skip to content

feat(levm): error handling ef_tests (Part 1) #4798

feat(levm): error handling ef_tests (Part 1)

feat(levm): error handling ef_tests (Part 1) #4798

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
merge_group:
pull_request:
branches: ["**"]
# paths-ignore:
# - "README.md"
# - "LICENSE"
# - "**/README.md"
# - "**/docs/**"
# - "crates/vm/levm/**" # We run this in a separate workflow
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
RUST_VERSION: 1.81.0
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Rustup toolchain install
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
components: rustfmt, clippy
- name: Add Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo check
run: cargo check
- name: Run cargo build
run: |
cargo build
- name: Run cargo clippy
run: |
cargo clippy --all-targets --all-features --workspace --exclude ethrex-prover -- -D warnings
- name: Run cargo fmt
run: |
cargo fmt --all -- --check
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Rustup toolchain install
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
- name: Caching
uses: Swatinem/rust-cache@v2
- name: Download test vectors
run: |
make download-test-vectors
- name: Run tests
run: |
make test