Skip to content

Commit 014e695

Browse files
Merge pull request #7 from hyperfinitism/ci/add-pip-upgrade-line
CI(ruff): Enable pip cache and add upgrading pip before installing ruff
2 parents e858af6 + 6d27459 commit 014e695

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ruff.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ jobs:
2828
- uses: actions/setup-python@v6
2929
with:
3030
python-version: "3.14"
31-
- run: pip install ruff
31+
cache: "pip"
32+
- run: |
33+
python -m pip install --upgrade pip
34+
pip install ruff
3235
- name: Lint (ruff check)
3336
run: ruff check
3437
- name: Format (ruff format --check)

0 commit comments

Comments
 (0)