Skip to content

Commit

Permalink
Add ruff action
Browse files Browse the repository at this point in the history
  • Loading branch information
azvoleff committed Aug 2, 2024
1 parent 59837af commit 9e34572
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Ruff
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: ruff check --output-format=github .

0 comments on commit 9e34572

Please sign in to comment.