Skip to content

Commit e3537f1

Browse files
authored
Update ci.yml
1 parent 6ecdd10 commit e3537f1

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
lint:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212

1313
steps:
1414
- name: Checkout repository
@@ -19,22 +19,11 @@ jobs:
1919
with:
2020
python-version: "3.11"
2121

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-
2922
- name: Install dependencies
3023
run: |
3124
python -m pip install --upgrade pip
3225
pip install ruff
3326
34-
- name: Auto-fix code with Ruff
35-
run: |
36-
ruff format . --fix --line-length 88 --exclude migrations,venv || true
37-
3827
- name: Run Ruff linter
3928
run: |
40-
ruff check . --select ALL --ignore F401,W391 --line-length 88
29+
ruff check .

0 commit comments

Comments
 (0)