Skip to content

Add ruff github action #8

Add ruff github action

Add ruff github action #8

Workflow file for this run

name: Ruff
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint_and_format:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
- run: ruff check
- run: ruff format --check --diff