Skip to content

ci: Add GitHub Actions for Rust, Lean and Rocq #4

ci: Add GitHub Actions for Rust, Lean and Rocq

ci: Add GitHub Actions for Rust, Lean and Rocq #4

Workflow file for this run

name: Rust CI
on:
pull_request:
jobs:
rust-ci:
name: Build, Lint & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: argus
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- name: Install Rust components
run: rustup component add rustfmt clippy
- name: Check formatting
run: cargo fmt --check
- name: Clippy
run: cargo clippy --workspace -- -D warnings
- name: Run tests
run: cargo test --workspace
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Security audit
run: cargo audit