2727 name : Build wheels on ${{ matrix.os }}${{ matrix.name_suffix || '' }}
2828
2929 steps :
30- - uses : actions/checkout@v6
31- - uses : actions/setup-python@v6
30+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3232 with :
3333 python-version : " 3.x"
3434 cache : " pip"
@@ -40,12 +40,12 @@ jobs:
4040
4141 - name : Set up QEMU for emulation
4242 if : matrix.cibw_archs == 'riscv64'
43- uses : docker/setup-qemu-action@v3
43+ uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
4444 with :
4545 platforms : ${{ matrix.cibw_archs }}
4646
4747 - name : Build
48- uses : pypa/cibuildwheel@v3.3.0
48+ uses : pypa/cibuildwheel@63fd63b352a9a8bdcc24791c9dbee952ee9a8abc # v3.3.0
4949 env :
5050 CIBW_TEST_REQUIRES : " pytest"
5151 CIBW_TEST_COMMAND : " pytest {package}/test"
5959 python -m build -s -o wheelhouse
6060
6161 - name : Upload Wheels to artifact
62- uses : actions/upload-artifact@v4
62+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6363 with :
6464 name : wheels-${{ matrix.os }}${{ matrix.name_suffix || '' }}
6565 path : wheelhouse
@@ -69,15 +69,15 @@ jobs:
6969 needs : [build_wheels]
7070 runs-on : ubuntu-latest
7171 steps :
72- - uses : actions/download-artifact@v4
72+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7373 with :
7474 # unpacks all CIBW artifacts into dist/
7575 pattern : wheels-*
7676 path : dist
7777 merge-multiple : true
7878
7979 - name : Upload Wheels to artifact
80- uses : actions/upload-artifact@v4
80+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
8181 with :
8282 name : wheels-all
8383 path : dist
@@ -93,13 +93,13 @@ jobs:
9393 # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
9494 # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
9595 steps :
96- - uses : actions/download-artifact@v4
96+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9797 with :
9898 # unpacks all CIBW artifacts into dist/
9999 pattern : wheels-*
100100 path : dist
101101 merge-multiple : true
102102
103- - uses : pypa/gh-action-pypi-publish@release/v1
103+ - uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
104104 # with:
105105 # To test: repository-url: https://test.pypi.org/legacy/
0 commit comments