Skip to content

Commit 6e31449

Browse files
author
stuffacc
committed
Add GitHub Actions for ruff linting
1 parent a26c9af commit 6e31449

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ruff.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Ruff
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- name: Install Python
9+
uses: actions/setup-python@v5
10+
with:
11+
python-version: "3.12.3"
12+
- name: Install dependencies
13+
run: |
14+
python -m pip install --upgrade pip
15+
pip install ruff
16+
# Update output format to enable automatic inline annotations.
17+
- name: Run Ruff
18+
run: ruff check --output-format=github .

0 commit comments

Comments
 (0)