File tree 2 files changed +12
-29
lines changed
2 files changed +12
-29
lines changed Original file line number Diff line number Diff line change @@ -25,29 +25,24 @@ jobs:
25
25
- {name: 'package', python: '3.13', tox: package}
26
26
27
27
steps :
28
- - uses : actions/checkout@v3
29
-
30
- - uses : actions/setup-python@v3
28
+ - uses : pgjones/actions/tox@v1
31
29
with :
32
- python-version : ${{ matrix.python }}
30
+ environment : ${{ matrix.tox }}
33
31
34
- - name : update pip
35
- run : |
36
- pip install -U wheel
37
- pip install -U setuptools
38
- python -m pip install -U pip
39
-
40
- - run : pip install tox
32
+ zizmor :
33
+ name : Zizmor
34
+ runs-on : ubuntu-latest
41
35
42
- - run : tox -e ${{ matrix.tox }}
36
+ steps :
37
+ - uses : pgjones/actions/zizmor@v1
43
38
44
39
compliance :
45
40
runs-on : ubuntu-latest
46
41
47
42
steps :
48
- - uses : actions/checkout@v3
43
+ - uses : actions/checkout@v4
49
44
50
- - uses : actions/setup-python@v3
45
+ - uses : actions/setup-python@v5
51
46
with :
52
47
python-version : ' 3.13'
53
48
Original file line number Diff line number Diff line change 7
7
build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v3
11
-
12
- - uses : actions/setup-python@v3
13
- with :
14
- python-version : 3.13
15
-
16
- - run : |
17
- pip install pdm
18
- pdm build
19
-
20
- - uses : actions/upload-artifact@v3
21
- with :
22
- path : ./dist
10
+ - uses : pgjones/actions/build@v1
23
11
24
12
pypi-publish :
25
13
needs : ['build']
31
19
# IMPORTANT: this permission is mandatory for trusted publishing
32
20
id-token : write
33
21
steps :
34
- - uses : actions/download-artifact@v3
22
+ - uses : actions/download-artifact@v4
35
23
36
24
- name : Publish package distributions to PyPI
37
25
uses : pypa/gh-action-pypi-publish@release/v1
38
26
with :
39
- packages_dir : artifact/
27
+ packages-dir : artifact/
You can’t perform that action at this time.
0 commit comments