Skip to content

Commit

Permalink
Simplify ruff workflow with ruff-action
Browse files Browse the repository at this point in the history
  • Loading branch information
martclanor committed Feb 1, 2025
1 parent 2bc2d2e commit 6d073a1
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,5 @@ jobs:
with:
sparse-checkout: |
utils/generate_from_templates.py
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff linter
run: |
ruff check --output-format=github .
- name: Run Ruff formatter
run: |
ruff format --diff .
- name: Run ruff-action
uses: astral-sh/ruff-action@v3

0 comments on commit 6d073a1

Please sign in to comment.