Skip to content

perf: remove all unnecessary allocations #5

perf: remove all unnecessary allocations

perf: remove all unnecessary allocations #5

Workflow file for this run

name: Clippy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
clippy:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --all --all-targets
- name: Run rustfmt
run: cargo fmt --all -- --check