1010 pull_request :
1111 workflow_dispatch :
1212
13+ permissions : {}
14+
1315env :
1416 PY_COLORS : 1
1517
@@ -18,12 +20,13 @@ jobs:
1820 name : Build
1921 runs-on : ubuntu-latest
2022 steps :
21- - uses : actions/checkout@v6
23+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2224 with :
2325 # fetch all commits for version computation
2426 fetch-depth : 0
27+ persist-credentials : false
2528 - name : Setup Python
26- uses : actions/setup-python@v6
29+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2730 with :
2831 python-version : " 3.14"
2932 - name : Install dependencies
3336 - name : List distributions
3437 run : ls -lR dist
3538 - name : Save build artifacts
36- uses : actions/upload-artifact@v5
39+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
3740 with :
3841 name : build
3942 path : dist
@@ -58,14 +61,16 @@ jobs:
5861 - " pypy-3.10"
5962 - " pypy-3.11"
6063 steps :
61- - uses : actions/checkout@v6
64+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
65+ with :
66+ persist-credentials : false
6267 - name : Restore build artifacts
63- uses : actions/download-artifact@v6
68+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6469 with :
6570 name : build
6671 path : dist
6772 - name : Setup Python ${{ matrix.python }}
68- uses : actions/setup-python@v6
73+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6974 with :
7075 python-version : ${{ matrix.python }}
7176 - name : Install wheel
7782 name : Lint
7883 runs-on : ubuntu-latest
7984 steps :
80- - uses : actions/checkout@v6
85+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
86+ with :
87+ persist-credentials : false
8188 - name : Setup Python
82- uses : actions/setup-python@v6
89+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
8390 with :
8491 python-version : 3.14
8592 - name : Install dependencies
@@ -93,9 +100,11 @@ jobs:
93100 name : Type
94101 runs-on : ubuntu-latest
95102 steps :
96- - uses : actions/checkout@v6
103+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104+ with :
105+ persist-credentials : false
97106 - name : Setup Python
98- uses : actions/setup-python@v6
107+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
99108 with :
100109 python-version : 3.14
101110 - name : Install dependencies
@@ -117,14 +126,14 @@ jobs:
117126 id-token : write # This permission is mandatory for trusted publishing
118127 steps :
119128 - name : Restore build artifacts
120- uses : actions/download-artifact@v6
129+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
121130 with :
122131 name : build
123132 path : dist
124133 - name : List distributions
125134 run : ls -lR dist
126135 - name : Publish to PyPI
127- uses : pypa/gh-action-pypi-publish@release/v1
136+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
128137 with :
129138 verbose : true
130139 print-hash : true
0 commit comments