Skip to content

Merge pull request #4 from brave-experiments/integrate #12

Merge pull request #4 from brave-experiments/integrate

Merge pull request #4 from brave-experiments/integrate #12

Workflow file for this run

name: Rust Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Run rustfmt
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -D warnings