99 release :
1010 types : [published]
1111
12+ permissions :
13+ contents : read
14+
1215jobs :
1316 build_wheels :
1417 name : Build wheels on ${{ matrix.os }}
@@ -20,25 +23,29 @@ jobs:
2023
2124 steps :
2225 - name : Checkout
23- uses : actions/checkout@v3
26+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+ with :
28+ persist-credentials : false
2429
2530 - name : Install Python
26- uses : actions/setup-python@v4
31+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
32+ with :
33+ python-version : ${{ matrix.python-version }}
2734
2835 - name : Install cibuildwheel
2936 run : |
3037 python -m pip install "cibuildwheel==2.3.1"
3138
3239 - name : Build wheels
33- uses : pypa/cibuildwheel@v2.13.0
40+ uses : pypa/cibuildwheel@0ecddd92b62987d7a2ae8911f4bb8ec9e2e4496a # v2.13.1
3441 env :
3542 CIBW_SKIP : " cp36* pp* *i686 *musllinux*"
3643 CIBW_BEFORE_BUILD : " bash {package}/.github/workflows/before_build.sh ${{ matrix.os }}"
3744 CIBW_BEFORE_TEST : " cp -r {project}/tests .."
3845 CIBW_TEST_REQUIRES : pytest
3946 CIBW_TEST_COMMAND : " SDL_AUDIODRIVER=dummy pytest {project}/../tests"
4047
41- - uses : actions/upload-artifact@v3
48+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4249 with :
4350 path : ./wheelhouse/*.whl
4451 name : wheels_${{ matrix.os }}
@@ -47,12 +54,14 @@ jobs:
4754 name : Build source distribution
4855 runs-on : ubuntu-latest
4956 steps :
50- - uses : actions/checkout@v3
57+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
58+ with :
59+ persist-credentials : false
5160
5261 - name : Build sdist
5362 run : pipx run build --sdist
5463
55- - uses : actions/upload-artifact@v3
64+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5665 with :
5766 path : dist/*.tar.gz
5867 name : mixstream-sdist.tar.gz
0 commit comments