File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 branches : [ main ]
77 workflow_dispatch :
88
9+ permissions : {}
10+
911jobs :
1012 tox :
1113 name : ${{ matrix.name }}
1214 runs-on : ubuntu-latest
1315
16+ permissions :
17+ contents : read
18+
1419 container : python:${{ matrix.python }}
1520
1621 strategy :
@@ -26,14 +31,16 @@ jobs:
2631 - {name: 'package', python: '3.14', tox: package}
2732
2833 steps :
29- - uses : actions/checkout@v4
34+ - uses : pgjones/actions/tox@dbbee601c084d000c4fc711d4b27cb306e15ead1 # v1
35+ with :
36+ environment : ${{ matrix.tox }}
3037
31- - name : update pip
32- run : |
33- pip install -U wheel
34- pip install -U setuptools
35- python -m pip install -U pip
38+ zizmor :
39+ name : Zizmor
40+ runs-on : ubuntu-latest
3641
37- - run : pip install tox
42+ permissions :
43+ contents : read
3844
39- - run : tox -e ${{ matrix.tox }}
45+ steps :
46+ - uses : pgjones/actions/zizmor@dbbee601c084d000c4fc711d4b27cb306e15ead1 # v1
Original file line number Diff line number Diff line change 33 push :
44 tags :
55 - ' *'
6+
7+ permissions : {}
8+
69jobs :
710 build :
811 runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v4
11-
12- - uses : actions/setup-python@v4
13- with :
14- python-version : 3.13
1512
16- - run : |
17- pip install pdm
18- pdm build
13+ permissions :
14+ contents : read
1915
20- - uses : actions/upload-artifact@v4
21- with :
22- path : ./dist
16+ steps :
17+ - uses : pgjones/actions/build@dbbee601c084d000c4fc711d4b27cb306e15ead1 # v1
2318
2419 pypi-publish :
2520 needs : ['build']
3126 # IMPORTANT: this permission is mandatory for trusted publishing
3227 id-token : write
3328 steps :
34- - uses : actions/download-artifact@v4
29+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
3530
3631 - name : Publish package distributions to PyPI
37- uses : pypa/gh-action-pypi-publish@release/v1
32+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
3833 with :
39- packages_dir : artifact/
34+ packages-dir : artifact/
You can’t perform that action at this time.
0 commit comments