File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -167,19 +167,27 @@ jobs:
167
167
working-directory : build-clang/Release
168
168
169
169
build-with-python :
170
- runs-on : [ubuntu-latest]
171
- container :
172
- image : ${{ matrix.image }}
170
+ permissions : # https://docs.zizmor.sh/audits/#excessive-permissions
171
+ contents : read
173
172
strategy :
174
173
matrix :
175
- image : ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:24.04"]
174
+ host-os : ["ubuntu-latest", "ubuntu-24.04-arm"]
175
+ image : ["ubuntu:22.04", "ubuntu:24.04"]
176
+ fail-fast : false
177
+ defaults :
178
+ run :
179
+ shell : bash
180
+ runs-on : ${{ matrix.host-os }}
181
+ container : ${{ matrix.image }}
176
182
steps :
177
183
- uses : actions/checkout@v4
184
+ with :
185
+ persist-credentials : false # https://docs.zizmor.sh/audits/#artipacked
178
186
- name : Install dependencies
179
187
run : |
180
188
apt update
181
189
apt install -y g++ python3
182
- - name : ${{ matrix.image }}
190
+ - name : ${{ matrix.host-os }} ${{ matrix. image }}
183
191
run : |
184
192
# Do not set --warnings-as-errors here as that triggers an irrelevant
185
193
# compiler warnings in <stdio.h> with ubuntu:24.04. See issue #2615
You can’t perform that action at this time.
0 commit comments