File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,8 @@ description: Build mkdocs
33runs :
44 using : composite
55 steps :
6- - run : pipx install poetry
7- shell : bash
8- - uses : actions/setup-python@v5
9- with :
10- python-version : 3.10.12
11- - run : poetry install --only mkdocs
12- shell : bash
13- - run : poetry run mkdocs build
6+ - uses : astral-sh/setup-uv@v8.2.0
7+ - run : |
8+ uv sync
9+ uv run mkdocs build
1410 shell: bash
Original file line number Diff line number Diff line change 1212 shell : bash
1313 - run : python -m pip freeze --local
1414 shell : bash
15- - uses : actions/cache@v4
15+ - uses : actions/cache@v5
1616 with :
1717 path : |
1818 ~/.cache/pre-commit
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ - package-ecosystem : " pre-commit"
8+ directory : " /"
9+ schedule :
10+ interval : " weekly"
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v6
1717 - uses : ./.github/actions/mkdocs-build
1818
1919 deploy :
@@ -32,16 +32,16 @@ jobs:
3232 url : ${{ steps.deployment.outputs.page_url }}
3333
3434 steps :
35- - uses : actions/checkout@v4
35+ - uses : actions/checkout@v6
3636 - uses : ./.github/actions/mkdocs-build
3737 - name : Upload artifact
38- uses : actions/upload-pages-artifact@v3
38+ uses : actions/upload-pages-artifact@v5
3939 with :
4040 name : github-pages
4141 path : site
4242 retention-days : " 3"
4343 - name : deploy to gh pages
44- uses : actions/deploy-pages@v4
44+ uses : actions/deploy-pages@v5
4545 with :
4646 artifact_name : github-pages
4747 preview : false
Original file line number Diff line number Diff line change 99 pre-commit :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
12+ - uses : actions/checkout@v6
1313
14- - uses : actions/setup-python@v5
14+ - uses : actions/setup-python@v6
1515 with :
16- python-version : ' 3.10 '
16+ python-version : ' 3.14 '
1717
1818 - name : Install local dependencies
1919 run : |
Original file line number Diff line number Diff line change @@ -13,26 +13,21 @@ jobs:
1313
1414 steps :
1515 - name : Checkout Code
16- uses : actions/checkout@v4
16+ uses : actions/checkout@v6
1717 with :
1818 fetch-depth : 0
1919
2020 - name : Setup Python
21- uses : actions/setup-python@v5
21+ uses : actions/setup-python@v6
2222 with :
23- python-version : ' 3.10 '
23+ python-version : ' 3.14 '
2424
25- - name : Install poetry
26- run : |
27- pip install poetry>=2.0
28-
29- - name : Install Dependencies
30- run : |
31- poetry install --with dev
25+ - name : Setup uv
26+ uses : astral-sh/setup-uv@v8.2.0
3227
3328 - name : Build Wheel
3429 run : |
35- poetry build
30+ uv build
3631
3732 - name : Create Release
3833 env :
Original file line number Diff line number Diff line change @@ -12,28 +12,26 @@ jobs:
1212
1313 steps :
1414 - name : Checkout Code
15- uses : actions/checkout@v4
15+ uses : actions/checkout@v6
1616 with :
1717 fetch-depth : 0
1818
1919 - name : Setup Python
20- uses : actions/setup-python@v5
20+ uses : actions/setup-python@v6
2121 with :
22- python-version : " 3.10 "
22+ python-version : " 3.14 "
2323
24- - name : Install poetry
25- run : |
26- pip install poetry>=2.0
24+ - name : Setup uv
25+ uses : astral-sh/setup-uv@v8.2.0
2726
2827 - name : Test
2928 run : |
30- poetry install --with dev
31- poetry run pytest
29+ uv run pytest
3230
3331 # - name: Build badge
3432 # if: ${{ github.event.pull_request.merged == true }}
3533 # run: |
36- # poetry run coverage-badge -f -o docs/assets/badges/coverage.svg
34+ # uv run coverage-badge -f -o docs/assets/badges/coverage.svg
3735 # echo '<!-- timestamp: '"$(date '+%Y-%m-%d %H:%M:%S')"' -->' >> docs/assets/badges/coverage.svg
3836 # git config user.name "${{ github.actor }}"
3937 # git config user.email "${{ github.actor }}@users.noreply.github.com"
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@v4
14+ uses : actions/checkout@v6
1515
1616 - name : Set up python
17- uses : actions/setup-python@v5
17+ uses : actions/setup-python@v6
1818 with :
19- python-version : ' 3.10 '
19+ python-version : ' 3.14 '
2020
2121 - name : Install dependencies
2222 run : pip install toml # Install toml package to read pyproject.toml
Original file line number Diff line number Diff line change @@ -370,7 +370,6 @@ deps/src/
370370# applications that require a static environment.
371371# Manifest.toml
372372
373- * .lock
374373.vscode
375374tmp /
376375* /logs /
Original file line number Diff line number Diff line change 22# ####
33# Basic file cleanliness
44- repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v4.5 .0
5+ rev : v6.0 .0
66 hooks :
77 - id : check-added-large-files
88 - id : check-yaml
You can’t perform that action at this time.
0 commit comments