Skip to content

Commit 8156391

Browse files
committed
refactor(ci): make ci run the pre-commit hook instead of custom ci hooks
1 parent 919f37b commit 8156391

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

‎template/.github/workflows/ci.yaml‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,8 @@ jobs:
2626
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
2727
- name: Install dependencies
2828
run: uv sync --no-sources
29-
- name: ruff format
30-
run: uv run --no-sources ruff format --check src tests
31-
- name: ruff check
32-
run: uv run --no-sources ruff check src tests
33-
- name: ty
34-
run: make ty
35-
- name: import-linter
36-
run: make import_lint
29+
- name: pre-commit
30+
run: uv run --no-sources pre-commit run --all-files
3731
test:
3832
runs-on: ubuntu-latest
3933
strategy:

0 commit comments

Comments
 (0)