Commit d0efdda 1 parent ca42071 commit d0efdda Copy full SHA for d0efdda
File tree 4 files changed +16
-13
lines changed
4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 12
12
strategy :
13
13
matrix :
14
14
os : [ubuntu-latest]
15
- python-version : ["3.12 "]
15
+ python-version : ["3.13 "]
16
16
fail-fast : false
17
17
runs-on : ${{ matrix.os }}
18
18
steps :
@@ -21,11 +21,11 @@ jobs:
21
21
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
22
22
# Set fetch-depth: 0 to fetch all history for all branches and tags.
23
23
fetch-depth : 0 # Needed for setuptools_scm to work correctly
24
- - name : Set up Python
25
- uses : actions /setup-python @v5 # https://github.com/actions/setup-python
24
+ - name : Install uv and set the python version
25
+ uses : astral-sh /setup-uv @v5
26
26
with :
27
27
python-version : ${{ matrix.python-version }}
28
- - name : Install python prerequisites
29
- run : pip install -U --user pip setuptools setuptools-scm griffe_typingdoc mkdocs-include-markdown-plugin mkdocs-macros-plugin mkdocs-material mkdocstrings[python] . plugins/ext_test
28
+ - name : Install the project
29
+ run : uv sync --group docs
30
30
- name : MkDocs documentation build
31
- run : mkdocs build
31
+ run : uv run mkdocs build -s
Original file line number Diff line number Diff line change 16
16
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
17
17
# Set fetch-depth: 0 to fetch all history for all branches and tags.
18
18
fetch-depth : 0 # Needed for setuptools_scm to work correctly
19
- - run : pip install --user ruff
19
+ - uses : astral-sh/ ruff-action@v3
20
20
- run : ruff format --check
Original file line number Diff line number Diff line change 16
16
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
17
17
# Set fetch-depth: 0 to fetch all history for all branches and tags.
18
18
fetch-depth : 0 # Needed for setuptools_scm to work correctly
19
- - run : pip install --user ruff
19
+ - uses : astral-sh/ ruff-action@v3
20
20
- run : ruff check --output-format=github .
Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4 # https://github.com/actions/checkout
15
- - uses : actions/setup-python@v5 # https://github.com/actions/setup-python
16
15
with :
17
- python-version : 3.13
18
- allow-prereleases : true
19
16
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
20
17
# Set fetch-depth: 0 to fetch all history for all branches and tags.
21
18
fetch-depth : 0 # Needed for setuptools_scm to work correctly
22
- - run : pip install -U --user pip mypy
23
- - run : mypy .
19
+ - name : Install uv and set the python version
20
+ uses : astral-sh/setup-uv@v5
21
+ with :
22
+ python-version : 3.13
23
+ - name : Install the project
24
+ run : uv sync --group validate
25
+ - name : Run mypy static type checker
26
+ run : uv run mypy .
You can’t perform that action at this time.
0 commit comments