File tree 2 files changed +7
-12
lines changed
2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
16
- - name : Build SDist and wheel
17
- run : pipx run build
18
-
19
- - uses : actions/upload-artifact@v4
20
- with :
21
- name : cibw-sdist
22
- path : dist/*
23
-
24
- - name : Check metadata
25
- run : pipx run twine check dist/*
16
+ - uses : hynek/build-and-inspect-python-package@v2
26
17
27
18
publish :
28
19
needs : [dist]
@@ -38,13 +29,14 @@ jobs:
38
29
steps :
39
30
- uses : actions/download-artifact@v4
40
31
with :
41
- pattern : cibw-*
32
+ name : Packages
42
33
path : dist
43
- merge-multiple : true
44
34
45
35
- name : Generate artifact attestation for sdist and wheel
46
36
uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
47
37
with :
48
38
subject-path : " dist/cibuildwheel-*"
49
39
50
40
- uses : pypa/gh-action-pypi-publish@release/v1
41
+ with :
42
+ attestations : true
Original file line number Diff line number Diff line change @@ -240,3 +240,6 @@ flake8-unused-arguments.ignore-variadic-names = true
240
240
241
241
[tool .repo-review ]
242
242
ignore = [" PC170" , " PP303" ]
243
+
244
+ [tool .check-wheel-contents ]
245
+ ignore = [" W002" ] # requirements-*.txt are allowed to be duplicates of one another
You can’t perform that action at this time.
0 commit comments