@@ -30,10 +30,10 @@ jobs:
3030
3131 steps :
3232 - name : Checkout TextWorld
33- uses : actions/checkout@v5
33+ uses : actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
3434
3535 - name : Build Wheel
36- uses : pypa/cibuildwheel@v2.22.0
36+ uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
3737 env :
3838 CIBW_BUILD : cp${{ matrix.cp }}-${{ matrix.platform_id }}
3939 CIBW_ARCHS : native # avoid building extra archs unintentionally
5454 if : startsWith(matrix.os, 'macos')
5555
5656 - name : Use Python ${{ matrix.python }}
57- uses : actions/setup-python@v5
57+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5858 with :
5959 python-version : ${{ matrix.python }}
6060
6868 run : |
6969 pytest -n 16 -sv tests/ textworld/
7070
71- - uses : actions/upload-artifact@v4
71+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7272 with :
7373 name : tw-wheels-py3-none-${{ matrix.platform_id }}
7474 path : wheelhouse/*.whl
8080 runs-on : ubuntu-latest
8181
8282 steps :
83- - uses : actions/checkout@v5
83+ - uses : actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
8484 - name : Setup Python
85- uses : actions/setup-python@v5
85+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
8686 with :
8787 python-version : ' 3.12'
8888 - name : Install dependencies
9292 - name : Build package
9393 run : python -m build --sdist
9494 - name : Store artifacts
95- uses : actions/upload-artifact@v4
95+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9696 with :
9797 name : tw-sdist
9898 path : dist/*.tar.gz
@@ -112,7 +112,7 @@ jobs:
112112 id-token : write # mandatory for trusted publishing
113113 steps :
114114 - name : Download build artifacts
115- uses : actions/download-artifact@v4
115+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
116116 with :
117117 pattern : tw-*
118118 path : dist
0 commit comments