Skip to content

Commit 33325ab

Browse files
committed
fix: ruff check
1 parent fdbc30f commit 33325ab

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,19 @@ jobs:
1717
- name: Check out repository
1818
uses: actions/checkout@v4
1919

20-
- name: Run Ruff Linter & Formatter
21-
uses: astral-sh/ruff-action@v3
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
2222
with:
23-
args: "check && ruff format --check"
23+
python-version: "3.11"
24+
25+
- name: Install Ruff
26+
run: pip install ruff
27+
28+
- name: Run Ruff Linter
29+
run: ruff check .
30+
31+
- name: Run Ruff Formatter Check
32+
run: ruff format --check .
2433

2534

2635
test:
@@ -51,8 +60,6 @@ jobs:
5160
pytest --cov=tsauditor --cov-report=xml --cov-report=term-missing -v
5261
5362
- name: Upload coverage to Codecov
54-
# Only upload once per matrix run to avoid duplicate/conflicting reports.
55-
# ubuntu + the lowest supported Python version is the canonical run.
5663
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
5764
uses: codecov/codecov-action@v7
5865
with:

0 commit comments

Comments
 (0)