This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
feat: implement EIP-4844 (#668) #32
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: Tests | |
on: | |
push: | |
branches: [main, "release/**"] | |
pull_request: | |
branches: [main, "release/**"] | |
jobs: | |
tests-stable: | |
name: Tests (Stable) | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: riscv32imac-unknown-none-elf | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: cargo test | |
run: cargo test --workspace --all-features | |
- name: cargo check no_std | |
run: cargo check --target riscv32imac-unknown-none-elf --no-default-features | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: cargo fmt | |
run: cargo +nightly fmt --all -- --check | |
- name: cargo clippy | |
run: cargo +nightly clippy --workspace --all-features -- -D warnings | |
- name: cargo check no-default-features | |
run: | | |
cd crates/revm | |
cargo check --no-default-features | |
- name: cargo check serde | |
run: | | |
cd crates/revm | |
cargo check --no-default-features --features serde | |
- name: cargo check std | |
run: | | |
cd crates/revm | |
cargo check --no-default-features --features std |