Skip to content

refactor: small bits from the audit #10

refactor: small bits from the audit

refactor: small bits from the audit #10

Workflow file for this run

name: lint-and-test
on:
pull_request:
types: [opened, synchronize]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: make fmt
- name: Lint with Clippy
run: make lint
- name: Run tests
run: make test