Skip to content

ci: Add ruff static analysis to CI workflow #1

ci: Add ruff static analysis to CI workflow

ci: Add ruff static analysis to CI workflow #1

Workflow file for this run

name: Static Analysis
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ruff:
name: Ruff Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install ruff
run: pip install ruff
- name: Run ruff check
run: ruff check vouch/ tests/
- name: Run ruff format check
run: ruff format --check vouch/ tests/