File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,18 @@ jobs:
1616 steps :
1717 - name : Check out
1818 uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0 # Needed for setuptools_scm to work correctly
1921
2022 - uses : actions/cache@v4
2123 with :
2224 path : ~/.cache/pre-commit
2325 key : pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
24-
25- - name : Set up the environment
26- uses : ./.github/actions/setup-python-env
26+ - name : Install uv and set the python version
27+ uses : astral-sh/setup-uv@v6
2728 with :
28- extra-dependencies : --all-extras
29-
29+ python-version : " 3.13"
30+ - name : Install the project
31+ run : uv sync --group quality
3032 - name : Run pre-commit
3133 run : uv run pre-commit run -a --show-diff-on-failure
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ docs = [
6565 " setuptools_scm>=8" ,
6666]
6767plugins = [" cmd2-ext-test" ]
68+ quality = [" pre-commit>=2.20.0" ]
6869test = [
6970 " codecov>=2" ,
7071 " coverage>=7" ,
You can’t perform that action at this time.
0 commit comments