File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,14 @@ jobs:
17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
20
- - name : Install uv and set the python version
21
- uses : astral-sh/setup-uv@v5
20
+ - name : Run black linter
21
+ uses : psf/black@stable
22
22
with :
23
- python-version : ${{ matrix.python-version }}
24
- enable-cache : true
25
- cache-dependency-glob : " uv.lock"
26
-
27
- - name : Install the project
28
- run : uv sync --all-extras --dev
23
+ options : " --check --verbose"
24
+ src : " ./"
25
+ use_pyproject : true
29
26
30
27
- name : Run ruff linter
31
- run : uv run ruff check --config pyproject.toml
32
- continue-on-error : true
33
- - name : Run black linter
34
- run : |
35
- uv run black . --diff --check --config pyproject.toml
28
+ uses : astral-sh/ruff-action@v3
29
+ with :
30
+ version-file : " ./pyproject.toml"
You can’t perform that action at this time.
0 commit comments