File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 10
10
- published
11
11
workflow_dispatch :
12
12
13
- permissions :
14
- attestations : write
15
- contents : read
16
- id-token : write
17
13
18
14
env :
19
15
FORCE_COLOR : " 1" # Make tools pretty.
20
16
PIP_DISABLE_PIP_VERSION_CHECK : " 1"
21
17
PIP_NO_PYTHON_VERSION_WARNING : " 1"
22
18
19
+
23
20
jobs :
24
21
# Always build & lint package.
25
22
build-package :
26
23
name : Build & verify package
27
24
runs-on : ubuntu-latest
25
+ permissions :
26
+ attestations : write
28
27
29
28
steps :
30
29
- uses : actions/checkout@v4
31
30
with :
32
31
fetch-depth : 0
32
+ persist-credentials : false
33
33
34
34
- uses : hynek/build-and-inspect-python-package@v2
35
35
with :
43
43
runs-on : ubuntu-latest
44
44
needs : build-package
45
45
46
+ permissions :
47
+ contents : read
48
+ id-token : write
49
+
46
50
steps :
47
51
- name : Download packages built by build-and-inspect-python-package
48
52
uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments