File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -17,35 +17,30 @@ jobs:
1717 with :
1818 fetch-depth : 0
1919
20- - name : Build package
21- run : pipx run build
22-
23- - uses : actions/upload-artifact@v4
24- with :
25- path : dist/*
20+ - uses : hynek/build-and-inspect-python-package@v2
2621
2722 deploy :
2823 if : github.event_name == 'release' && github.event.action == 'published'
24+ needs : [dist]
2925 runs-on : ubuntu-latest
3026 environment :
3127 name : pypi
3228 url : https://pypi.org/p/scikit-build-core
3329 permissions :
3430 id-token : write
3531 attestations : write
36- contents : read
37-
38- needs : [dist]
3932
4033 steps :
4134 - uses : actions/download-artifact@v4
4235 with :
43- name : artifact
36+ name : Packages
4437 path : dist
4538
4639 - name : Generate artifact attestation for sdist and wheel
47- uses : actions/attest-build-provenance@v1.4.3
40+ uses : actions/attest-build-provenance@v1
4841 with :
4942 subject-path : " dist/*"
5043
5144 - uses : pypa/gh-action-pypi-publish@release/v1
45+ with :
46+ attestations : true
Original file line number Diff line number Diff line change 2525 exclude : " ^tests"
2626
2727 - repo : https://github.com/astral-sh/ruff-pre-commit
28- rev : v0.6.3
28+ rev : v0.6.8
2929 hooks :
3030 - id : ruff
3131 args : ["--fix", "--show-fixes"]
@@ -130,12 +130,12 @@ repos:
130130 additional_dependencies : [cogapp]
131131
132132 - repo : https://github.com/henryiii/validate-pyproject-schema-store
133- rev : 2024.08.26
133+ rev : 2024.09.23
134134 hooks :
135135 - id : validate-pyproject
136136
137137 - repo : https://github.com/python-jsonschema/check-jsonschema
138- rev : 0.29.2
138+ rev : 0.29.3
139139 hooks :
140140 - id : check-dependabot
141141 - id : check-github-workflows
You can’t perform that action at this time.
0 commit comments