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:
16
16
steps :
17
17
- name : Check out
18
18
uses : actions/checkout@v4
19
+ with :
20
+ fetch-depth : 0 # Needed for setuptools_scm to work correctly
19
21
20
22
- uses : actions/cache@v4
21
23
with :
22
24
path : ~/.cache/pre-commit
23
25
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
27
28
with :
28
- extra-dependencies : --all-extras
29
-
29
+ python-version : " 3.13"
30
+ - name : Install the project
31
+ run : uv sync --group quality
30
32
- name : Run pre-commit
31
33
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 = [
65
65
" setuptools_scm>=8" ,
66
66
]
67
67
plugins = [" cmd2-ext-test" ]
68
+ quality = [" pre-commit>=2.20.0" ]
68
69
test = [
69
70
" codecov>=2" ,
70
71
" coverage>=7" ,
You can’t perform that action at this time.
0 commit comments