55
66name : release
77
8+ permissions : {}
9+
810jobs :
911 build :
1012 name : Build distributions
1113 runs-on : ubuntu-latest
1214 steps :
13- - uses : actions/checkout@v4
15+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1416 with :
1517 persist-credentials : false
1618
1719 - name : Install uv
18- uses : astral-sh/setup-uv@v5
19- with :
20- enable-cache : true
21- cache-dependency-glob : pyproject.toml
20+ uses : astral-sh/setup-uv@445689ea25e0de0a23313031f5fe577c74ae45a1 # v6.3.0
2221
2322 - name : Build distributions
2423 run : uv build
2524
2625 - name : Upload distributions
27- uses : actions/upload-artifact@v4
26+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2827 with :
2928 name : distributions
3029 path : dist/
@@ -38,12 +37,12 @@ jobs:
3837 attestations : write # To persist the attestation files.
3938 steps :
4039 - name : Download distributions
41- uses : actions/download-artifact@v4
40+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
4241 with :
4342 name : distributions
4443 path : dist/
4544 - name : Generate build provenance
46- uses : actions/attest-build-provenance@v2
45+ uses : actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
4746 with :
4847 subject-path : ' dist/*'
4948
@@ -60,12 +59,12 @@ jobs:
6059 id-token : write
6160 steps :
6261 - name : Download distributions
63- uses : actions/download-artifact@v4
62+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
6463 with :
6564 name : distributions
6665 path : dist/
6766
6867 - name : Publish distributions
69- uses : pypa/gh-action-pypi-publish@release/v1
68+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
7069 with :
7170 attestations : true
0 commit comments