Skip to content

Rust Stable CI

Rust Stable CI #388

Workflow file for this run

name: Rust Stable CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
lints:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt -y update && sudo apt -y install flex bison
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: sensorfu/setup-rust-action@main
with:
components: clippy,rustfmt
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets -- -D warnings