File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - " *"
1010
1111jobs :
12- build :
12+ tests :
1313 strategy :
1414 matrix :
1515 python-version :
@@ -58,10 +58,21 @@ jobs:
5858 with :
5959 version : PATH
6060
61+ self-check :
62+ name : Run sync-pre-commit-with-uv on the repo itself
63+ runs-on : ubuntu-latest
64+ steps :
65+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
66+
67+ - uses : astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6
68+
69+ - name : Install dependencies
70+ run : uvx pre-commit try-repo . --all-files --show-diff-on-failure
71+
6172 coverage :
6273 name : Coverage
6374 runs-on : ubuntu-latest
64- needs : [build ]
75+ needs : [tests ]
6576 permissions :
6677 pull-requests : write
6778 contents : write
Original file line number Diff line number Diff line change 5858 - id : ruff
5959 args : [--fix, --unsafe-fixes]
6060 - id : ruff-format
61-
62- - repo : https://github.com/ewjoachim/sync-pre-commit-with-uv
63- rev : 1.0.1
64- hooks :
65- # Use this hook to ensure that the versions of the repos are synced
66- - id : sync
You can’t perform that action at this time.
0 commit comments