mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 02:46:28 +02:00
27 lines
682 B
YAML
27 lines
682 B
YAML
name: Static Analysis
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup | Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup | Rust
|
|
run: rustup toolchain install stable --profile minimal
|
|
- name: Run Clippy
|
|
run: cd envoyfilter && cargo clippy --all-targets --all-features -- -Dwarnings
|
|
|
|
format:
|
|
name: Rustfmt
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Setup | Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup | Rust
|
|
run: rustup toolchain install stable --profile minimal
|
|
- name: Run Rustfmt
|
|
run: cd envoyfilter && cargo fmt --all -- --check
|