We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ecdd10 commit e3537f1Copy full SHA for e3537f1
.github/workflows/ci.yml
@@ -8,7 +8,7 @@ on:
8
9
jobs:
10
lint:
11
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-latest
12
13
steps:
14
- name: Checkout repository
@@ -19,22 +19,11 @@ jobs:
19
with:
20
python-version: "3.11"
21
22
- # ───── Кэш pip ─────
23
- - name: Cache pip
24
- uses: actions/cache@v3
25
- with:
26
- path: ~/.cache/pip
27
- key: ${{ runner.os }}-pip-ruff-v1
28
-
29
- name: Install dependencies
30
run: |
31
python -m pip install --upgrade pip
32
pip install ruff
33
34
- - name: Auto-fix code with Ruff
35
- run: |
36
- ruff format . --fix --line-length 88 --exclude migrations,venv || true
37
38
- name: Run Ruff linter
39
40
- ruff check . --select ALL --ignore F401,W391 --line-length 88
+ ruff check .
0 commit comments