Skip to content

feat: add batch-submitter module #95

feat: add batch-submitter module

feat: add batch-submitter module #95

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
rust:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
lua5.4 \
liblua5.4-dev \
libslirp-dev
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: v1.4.3
- name: Check
run: cargo check --workspace --all-targets --locked
- name: Build
run: cargo build --workspace --all-targets --locked
- name: Format
run: cargo fmt --all -- --check
- name: Test
timeout-minutes: 15
run: RUN_ANVIL_TESTS=1 cargo test --workspace --all-targets --all-features --locked