File tree Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 os : [ubuntu-latest]
15- python-version : ["3.12 "]
15+ python-version : ["3.13 "]
1616 fail-fast : false
1717 runs-on : ${{ matrix.os }}
1818 steps :
@@ -21,11 +21,11 @@ jobs:
2121 # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
2222 # Set fetch-depth: 0 to fetch all history for all branches and tags.
2323 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
2626 with :
2727 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
3030 - 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 1616 # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
1717 # Set fetch-depth: 0 to fetch all history for all branches and tags.
1818 fetch-depth : 0 # Needed for setuptools_scm to work correctly
19- - run : pip install --user ruff
19+ - uses : astral-sh/ ruff-action@v3
2020 - run : ruff format --check
Original file line number Diff line number Diff line change 1616 # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
1717 # Set fetch-depth: 0 to fetch all history for all branches and tags.
1818 fetch-depth : 0 # Needed for setuptools_scm to work correctly
19- - run : pip install --user ruff
19+ - uses : astral-sh/ ruff-action@v3
2020 - run : ruff check --output-format=github .
Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4 # https://github.com/actions/checkout
15- - uses : actions/setup-python@v5 # https://github.com/actions/setup-python
1615 with :
17- python-version : 3.13
18- allow-prereleases : true
1916 # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
2017 # Set fetch-depth: 0 to fetch all history for all branches and tags.
2118 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