Skip to content

Commit 276686f

Browse files
fix: directly install ruff only in ci.yml linting
1 parent f2deb3d commit 276686f

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ jobs:
3030
with:
3131
version: "latest"
3232

33-
- name: Install dependencies
34-
# Install the package with uv in system mode
35-
# This installs ruff and other tools defined in dependencies
36-
run: uv pip install --system --group dev
33+
- name: Install ruff
34+
run: uv pip install --system ruff
3735

3836
- name: Run ruff check
3937
run: ruff check --config ./afterpython/ruff.toml .

src/afterpython/templates/ci-workflow-template.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ jobs:
3030
with:
3131
version: "latest"
3232

33-
- name: Install dependencies
34-
# Install the package with uv in system mode
35-
# This installs ruff and other tools defined in dependencies
36-
run: uv pip install --system --group dev
33+
- name: Install ruff
34+
run: uv pip install --system ruff
3735

3836
- name: Run ruff check
3937
run: ruff check --config ./afterpython/ruff.toml .

0 commit comments

Comments
 (0)