@@ -16,19 +16,19 @@ jobs:
1616 permissions :
1717 contents : read
1818 steps :
19- - uses : actions/checkout@v6
19+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020 with :
2121 persist-credentials : false
2222 - name : Set up Python
23- uses : actions/setup-python@v6
23+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424 with :
2525 python-version : ' 3.x'
2626 - name : Install pypa/build
2727 run : python3 -m pip install build --user
2828 - name : Build a binary wheel and a source tarball
2929 run : python3 -m build
3030 - name : Store the package distributions
31- uses : actions/upload-artifact@v7
31+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3232 with :
3333 name : python-package-distributions
3434 path : dist/
@@ -45,12 +45,12 @@ jobs:
4545 id-token : write # IMPORTANT: mandatory for trusted publishing
4646 steps :
4747 - name : Download all the dists
48- uses : actions/download-artifact@v8
48+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4949 with :
5050 name : python-package-distributions
5151 path : dist/
5252 - name : Publish distribution to TestPyPI
53- uses : pypa/gh-action-pypi-publish@release/v1
53+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
5454 with :
5555 repository-url : https://test.pypi.org/legacy/
5656
6868 id-token : write # IMPORTANT: mandatory for trusted publishing
6969 steps :
7070 - name : Download all the dists
71- uses : actions/download-artifact@v8
71+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7272 with :
7373 name : python-package-distributions
7474 path : dist/
7575 - name : Publish distribution to PyPI
76- uses : pypa/gh-action-pypi-publish@release/v1
76+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
0 commit comments