Skip to content

Feature: Add Ruff GitHub Workflow #3

Feature: Add Ruff GitHub Workflow

Feature: Add Ruff GitHub Workflow #3

Workflow file for this run

name: Ruff Linter and Auto Fix
on: [push, pull_request]
permissions:
contents: write
pull-requests: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff Check
run: |
ruff check