File tree Expand file tree Collapse file tree 5 files changed +25
-19
lines changed
Expand file tree Collapse file tree 5 files changed +25
-19
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Docs
22
33on : [push, pull_request, workflow_dispatch]
44
5+ permissions : {}
6+
7+ env :
8+ FORCE_COLOR : 1
9+
510jobs :
611 build :
712 runs-on : ubuntu-latest
@@ -15,13 +20,10 @@ jobs:
1520 uses : actions/setup-python@v5
1621 with :
1722 python-version : " 3.x"
18- cache : pip
19- cache-dependency-path : tox.ini
2023
21- - name : Install dependencies
22- run : |
23- python -m pip install -U pip
24- python -m pip install -U tox
24+ - name : Install uv
25+ uses : astral-sh/setup-uv@v5
2526
2627 - name : Docs
27- run : tox -e docs
28+ run : |
29+ uvx --with tox-uv tox -e docs
Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ name: Lint
22
33on : [push, pull_request, workflow_dispatch]
44
5+ permissions : {}
6+
57env :
68 FORCE_COLOR : 1
9+ RUFF_OUTPUT_FORMAT : github
710
811jobs :
912 lint :
2932 with :
3033 python-version : " 3.x"
3134 - name : Install uv
32- uses : hynek /setup-cached- uv@v2
35+ uses : astral-sh /setup-uv@v5
3336 - name : Mypy
3437 run : uvx --with tox-uv tox -e mypy
Original file line number Diff line number Diff line change 1111 - published
1212 workflow_dispatch :
1313
14+ permissions : {}
15+
1416env :
1517 FORCE_COLOR : 1
1618
5961 - name : Upload package to Test PyPI
6062 uses : pypa/gh-action-pypi-publish@release/v1
6163 with :
62- attestations : true
6364 repository-url : https://test.pypi.org/legacy/
6465
6566 # Upload to real PyPI on GitHub Releases.
8384
8485 - name : Upload package to PyPI
8586 uses : pypa/gh-action-pypi-publish@release/v1
86- with :
87- attestations : true
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Test
22
33on : [push, pull_request, workflow_dispatch]
44
5+ permissions : {}
6+
57env :
68 FORCE_COLOR : 1
79
3638 brew install gettext
3739
3840 - name : Install uv
39- uses : hynek /setup-cached- uv@v2
41+ uses : astral-sh /setup-uv@v5
4042
4143 - name : Generate translation binaries
4244 run : |
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.8 .6
3+ rev : v0.9 .6
44 hooks :
55 - id : ruff
66 args : [--exit-non-zero-on-fix]
77
88 - repo : https://github.com/psf/black-pre-commit-mirror
9- rev : 24.10 .0
9+ rev : 25.1 .0
1010 hooks :
1111 - id : black
1212
@@ -26,18 +26,18 @@ repos:
2626 exclude : \.github/ISSUE_TEMPLATE\.md|\.github/PULL_REQUEST_TEMPLATE\.md
2727
2828 - repo : https://github.com/python-jsonschema/check-jsonschema
29- rev : 0.30.0
29+ rev : 0.31.1
3030 hooks :
3131 - id : check-github-workflows
3232 - id : check-renovate
3333
3434 - repo : https://github.com/rhysd/actionlint
35- rev : v1.7.6
35+ rev : v1.7.7
3636 hooks :
3737 - id : actionlint
3838
3939 - repo : https://github.com/woodruffw/zizmor-pre-commit
40- rev : v1.0.0
40+ rev : v1.3.1
4141 hooks :
4242 - id : zizmor
4343
@@ -52,12 +52,12 @@ repos:
5252 - id : validate-pyproject
5353
5454 - repo : https://github.com/tox-dev/tox-ini-fmt
55- rev : 1.4.1
55+ rev : 1.5.0
5656 hooks :
5757 - id : tox-ini-fmt
5858
5959 - repo : https://github.com/rbubley/mirrors-prettier
60- rev : v3.4.2
60+ rev : v3.5.0
6161 hooks :
6262 - id : prettier
6363 args : [--prose-wrap=always, --print-width=88]
You can’t perform that action at this time.
0 commit comments