Skip to content

Commit 418a00f

Browse files
authored
Update ci.yml
1 parent c107444 commit 418a00f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@ jobs:
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.11"
21-
22-
- name: Cache pip
23-
uses: actions/cache@v3
24-
with:
25-
path: ~/.cache/pip
26-
key: ${{ runner.os }}-pip-ruff-v1
2721

2822
- name: Install dependencies
2923
run: |
3024
python -m pip install --upgrade pip
3125
pip install ruff
3226
27+
- name: Auto-fix code with Ruff
28+
run: |
29+
ruff format . --fix --line-length 88 --exclude migrations,venv || true
30+
3331
- name: Run Ruff linter
3432
run: |
3533
ruff check . --select ALL --ignore F401,W391 --line-length 88

0 commit comments

Comments
 (0)