Skip to content

Commit 8171810

Browse files
committed
Update link
1 parent f185631 commit 8171810

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/lint.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,14 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

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
2222
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
2926

3027
- 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"

0 commit comments

Comments
 (0)