Skip to content

Commit 6b9184c

Browse files
committed
Update zizmor
1 parent bd876f4 commit 6b9184c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/actions/build-android/action.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ runs:
1818
# The steps of a composite action are not clearly divided in the GitHub
1919
# UI, so use a single step with ::group:: markers instead.
2020
- shell: bash
21+
env:
22+
- triplet: ${{ inputs.triplet }}
2123
run: |
2224
echo "::group::Configure build Python"
2325
./Android/android.py configure-build
@@ -28,18 +30,18 @@ runs:
2830
echo "::endgroup::"
2931
3032
echo "::group::Configure host Python"
31-
./Android/android.py configure-host ${{ inputs.triplet }}
33+
./Android/android.py configure-host $triplet
3234
echo "::endgroup::"
3335
3436
echo "::group::Compile host Python"
35-
./Android/android.py make-host ${{ inputs.triplet }}
37+
./Android/android.py make-host $triplet
3638
echo "::endgroup::"
3739
3840
echo "::group::Make release package"
39-
./Android/android.py package ${{ inputs.triplet }}
41+
./Android/android.py package $triplet
4042
echo "::endgroup::"
4143
42-
if [ "$RUNNER_OS" = "Linux" ] && [ "$RUNNER_ARCH" = "X64"]; then
44+
if [ "$RUNNER_OS" = "Linux" ] && [ "$RUNNER_ARCH" = "X64" ]; then
4345
# https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/
4446
echo "::group::Enable KVM for Android emulator"
4547
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' \
@@ -50,7 +52,7 @@ runs:
5052
5153
echo "::group::Unpack release artifact"
5254
mkdir $RUNNER_TEMP/android
53-
tar -C $RUNNER_TEMP/android -xf cross-build/${{ inputs.triplet }}/dist/*
55+
tar -C $RUNNER_TEMP/android -xf cross-build/$triplet/dist/*
5456
echo "::endgroup::"
5557
5658
echo "::group::Tests"

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ jobs:
178178
free-threading: ${{ matrix.free-threading }}
179179

180180
build-windows-msi:
181-
name: >- # ${{ '' } is a hack to nest jobs under the same sidebar category
182-
Windows MSI${{ '' }}
181+
# ${{ '' } is a hack to nest jobs under the same sidebar category.
182+
name: Windows MSI${{ '' }} # zizmor: ignore[obfuscation]
183183
needs: build-context
184184
if: fromJSON(needs.build-context.outputs.run-windows-msi)
185185
strategy:
@@ -612,8 +612,8 @@ jobs:
612612
run: xvfb-run make ci
613613

614614
build-san:
615-
name: >- # ${{ '' } is a hack to nest jobs under the same sidebar category
616-
Sanitizers${{ '' }}
615+
# ${{ '' } is a hack to nest jobs under the same sidebar category.
616+
name: Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
617617
needs: build-context
618618
if: needs.build-context.outputs.run-tests == 'true'
619619
strategy:

.pre-commit-config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ repos:
7272
- id: actionlint
7373

7474
- repo: https://github.com/woodruffw/zizmor-pre-commit
75-
rev: v1.6.0
75+
rev: v1.11.0
7676
hooks:
7777
- id: zizmor
78-
# Action files are misidentified as workflows.
79-
exclude: ^.github/actions/
8078

8179
- repo: https://github.com/sphinx-contrib/sphinx-lint
8280
rev: v1.0.0

0 commit comments

Comments
 (0)