2424 runs-on : ubuntu-24.04
2525
2626 steps :
27- - uses : actions/checkout@v4
27+ - name : Checkout code
28+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29+
2830 - name : Set up Python
29- uses : actions/setup-python@v5
31+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3032 with :
3133 python-version : 3.13
3234
4345 run : python -m twine check dist/*
4446
4547 - name : Upload built archives
46- uses : actions/upload-artifact@v4
48+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
4749 with :
4850 name : pypi_archives
4951 path : dist/*
@@ -57,13 +59,13 @@ jobs:
5759
5860 steps :
5961 - name : Download built archives
60- uses : actions/download-artifact@v4
62+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
6163 with :
6264 name : pypi_archives
6365 path : dist
6466
6567 - name : Create GH release
66- uses : softprops/action-gh-release@v2
68+ uses : softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
6769 with :
6870 draft : true
6971 files : dist/*
@@ -77,13 +79,13 @@ jobs:
7779
7880 steps :
7981 - name : Download built archives
80- uses : actions/download-artifact@v4
82+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
8183 with :
8284 name : pypi_archives
8385 path : dist
8486
8587 - name : Publish to PyPI
8688 if : startsWith(github.ref, 'refs/tags')
87- uses : pypa/gh-action-pypi-publish@release/v1
89+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
8890 with :
8991 password : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments