@@ -50,13 +50,14 @@ jobs:
5050 PIP_DISABLE_PIP_VERSION_CHECK : 1
5151
5252 steps :
53- - uses : actions/checkout@v4
53+ - uses : actions/checkout@v5
5454 with :
5555 fetch-depth : 50
5656 submodules : true
57+ persist-credentials : false
5758
5859 - name : Set up Python
59- uses : actions/setup-python@v5
60+ uses : actions/setup-python@v6
6061 with :
6162 python-version : " 3.x"
6263
@@ -76,18 +77,20 @@ jobs:
7677 outputs :
7778 include : ${{ steps.set-matrix.outputs.include }}
7879 steps :
79- - uses : actions/checkout@v4
80- - uses : actions/setup-python@v5
80+ - uses : actions/checkout@v5
81+ with :
82+ persist-credentials : false
83+ - uses : actions/setup-python@v6
8184 with :
8285 python-version : " 3.x"
83- - run : pip install cibuildwheel==2.21.3
86+ - run : pip install cibuildwheel==3.2.1
8487 - id : set-matrix
8588 run : |
8689 MATRIX_INCLUDE=$(
8790 {
88- cibuildwheel --print-build-identifiers --platform linux --arch x86_64,aarch64 | grep cp | jq -nRc '{"only": inputs, "os": "ubuntu-latest"}' \
89- && cibuildwheel --print-build-identifiers --platform macos --arch x86_64,arm64 | grep cp | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
90- && cibuildwheel --print-build-identifiers --platform windows --arch x86,AMD64 | grep cp | jq -nRc '{"only": inputs, "os": "windows-latest"}'
91+ cibuildwheel --print-build-identifiers --platform linux --archs x86_64,aarch64 | grep cp | jq -nRc '{"only": inputs, "os": "ubuntu-latest"}' \
92+ && cibuildwheel --print-build-identifiers --platform macos --archs x86_64,arm64 | grep cp | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
93+ && cibuildwheel --print-build-identifiers --platform windows --archs x86,AMD64 | grep cp | jq -nRc '{"only": inputs, "os": "windows-latest"}'
9194 } | jq -sc
9295 )
9396 echo "include=$MATRIX_INCLUDE" >> $GITHUB_OUTPUT
@@ -110,16 +113,17 @@ jobs:
110113 PIP_DISABLE_PIP_VERSION_CHECK : 1
111114
112115 steps :
113- - uses : actions/checkout@v4
116+ - uses : actions/checkout@v5
114117 with :
115118 fetch-depth : 50
116119 submodules : true
120+ persist-credentials : false
117121
118122 - name : Set up QEMU
119123 if : runner.os == 'Linux'
120- uses : docker/setup-qemu-action@v2
124+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
121125
122- - uses : pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
126+ - uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
123127 with :
124128 only : ${{ matrix.only }}
125129 env :
@@ -149,13 +153,14 @@ jobs:
149153
150154 steps :
151155 - name : Checkout source
152- uses : actions/checkout@v4
156+ uses : actions/checkout@v5
153157 with :
154158 fetch-depth : 5
155159 submodules : true
160+ persist-credentials : false
156161
157162 - name : Set up Python
158- uses : actions/setup-python@v5
163+ uses : actions/setup-python@v6
159164 with :
160165 python-version : " 3.x"
161166
@@ -165,11 +170,12 @@ jobs:
165170 make htmldocs
166171
167172 - name : Checkout gh-pages
168- uses : actions/checkout@v4
173+ uses : actions/checkout@v5
169174 with :
170175 fetch-depth : 5
171176 ref : gh-pages
172177 path : docs/gh-pages
178+ persist-credentials : false
173179
174180 - name : Sync docs
175181 run : |
@@ -200,10 +206,11 @@ jobs:
200206 deployments : write
201207
202208 steps :
203- - uses : actions/checkout@v4
209+ - uses : actions/checkout@v5
204210 with :
205211 fetch-depth : 5
206212 submodules : false
213+ persist-credentials : false
207214
208215 - uses : actions/download-artifact@v4
209216 with :
0 commit comments