File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
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 :
You can’t perform that action at this time.
0 commit comments