File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 # Run builds nightly to catch incompatibilities with new marshmallow releases
88 schedule :
99 - cron : " 0 0 * * *"
10+ permissions :
11+ contents : read
1012jobs :
1113 tests :
1214 name : ${{ matrix.name }}
@@ -23,17 +25,21 @@ jobs:
2325 - { name: "3.14-madev", tox: py314-marshmallowdev }
2426 steps :
2527 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26- - uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
2728 with :
29+ persist-credentials : false
30+ - uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
31+ with : # zizmor: ignore[cache-poisoning] cache key is lockfile-derived
2832 enable-cache : true
2933 - run : uv run tox -e${{ matrix.tox }}
3034 build :
3135 name : Build package
3236 runs-on : ubuntu-latest
3337 steps :
3438 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
35- - uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
3639 with :
40+ persist-credentials : false
41+ - uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
42+ with : # zizmor: ignore[cache-poisoning] cache key is lockfile-derived
3743 enable-cache : true
3844 - run : uv build
3945 - run : uvx twine check --strict dist/*
4955 runs-on : ubuntu-latest
5056 steps :
5157 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52- - uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
5358 with :
59+ persist-credentials : false
60+ - uses : astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
61+ with : # zizmor: ignore[cache-poisoning] cache key is lockfile-derived
5462 enable-cache : true
5563 - run : uv run tox -e lint
5664 publish-to-pypi :
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ repos:
1111 hooks :
1212 - id : check-github-workflows
1313 - id : check-readthedocs
14+ - repo : https://github.com/zizmorcore/zizmor-pre-commit
15+ rev : v1.24.0
16+ hooks :
17+ - id : zizmor
1418- repo : https://github.com/asottile/blacken-docs
1519 rev : 1.20.0
1620 hooks :
You can’t perform that action at this time.
0 commit comments