Skip to content

Commit

Permalink
feat: add ruff action
Browse files Browse the repository at this point in the history
  • Loading branch information
13Mai13 committed Jan 28, 2025
1 parent 448747b commit a494581
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ruff Linting

on:
push:
branches:
- main # Run on pushes to the main branch
pull_request:
branches:
- main # Run on pull requests targeting the main branch

jobs:
ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12" # Use Python 3.12

- name: Install Ruff
run: pip install ruff

- name: Run Ruff
run: ruff check .

0 comments on commit a494581

Please sign in to comment.