Skip to content

Use Pathfinder for paginated tx fetches and nonce gap fills #66

Use Pathfinder for paginated tx fetches and nonce gap fills

Use Pathfinder for paginated tx fetches and nonce gap fills #66

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --workspace --verbose
- name: Run unit tests
run: cargo test --workspace --verbose -- --skip populate_selectors --skip address_flow --skip contract_calls