Skip to content

Add test to serialize/deserialize all circuits #236

Add test to serialize/deserialize all circuits

Add test to serialize/deserialize all circuits #236

Workflow file for this run

name: lint
on:
push:
branches: [develop, main]
pull_request:
branches:
- "**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
BINSTALL_NO_CONFIRM: true
RUSTDOCFLAGS: "-D warnings"
jobs:
clippy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/rust
- run: cargo clippy --all-targets -- -D warnings
- run: cargo clippy --all-targets --no-default-features --features cdk_erigon -- -D warnings
udeps:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/rust
- uses: taiki-e/install-action@v2
with:
tool: cargo-udeps
- run: cargo udeps --quiet
- run: cargo udeps --quiet --tests --benches --examples
rustdoc:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/rust
- run: cargo doc --all --no-deps
cargo-fmt:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/rust
- run: cargo fmt --check
taplo-fmt:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/rust
- uses: taiki-e/install-action@v2
with:
tool: taplo-cli
- run: taplo fmt --check