Skip to content

Commit e291024

Browse files
authored
Update ci.yml
1 parent ec3de8d commit e291024

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ jobs:
2323
uses: actions/cache@v3
2424
with:
2525
path: ~/.cache/pip
26-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
27-
restore-keys: |
28-
${{ runner.os }}-pip-
26+
key: ${{ runner.os }}-pip-ruff-v1
2927

3028
- name: Install dependencies
3129
run: |
@@ -34,8 +32,8 @@ jobs:
3432
3533
- name: Auto-fix code with Ruff
3634
run: |
37-
ruff format . --fix --line-length 88 --exclude migrations,venv || true
35+
ruff check . --fix --line-length 88 || true
3836
3937
- name: Run Ruff linter
4038
run: |
41-
ruff check . --select ALL --ignore F401,W391 --line-length 88
39+
ruff check . --line-length 88

0 commit comments

Comments
 (0)