Skip to content

Commit bd7b642

Browse files
committed
Add shell to each step of the composite action
1 parent 97ffb3e commit bd7b642

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ runs:
1616

1717
steps:
1818
# Build Python, and package it into a release artifact.
19-
- run: ./Android/android.py build ${{ inputs.triplet }}
20-
- run: ./Android/android.py package ${{ inputs.triplet }}
19+
- shell: bash
20+
run: ./Android/android.py build ${{ inputs.triplet }}
21+
- shell: bash
22+
run: ./Android/android.py package ${{ inputs.triplet }}
2123
- uses: actions/upload-artifact@v4
2224
with:
2325
name: android
@@ -30,6 +32,7 @@ runs:
3032
# (https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/).
3133
- name: Enable KVM for Android emulator
3234
if: runner.os == "Linux"
35+
shell: bash
3336
run: |
3437
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' \
3538
| sudo tee /etc/udev/rules.d/99-kvm4all.rules
@@ -38,12 +41,14 @@ runs:
3841
3942
- name: Unpack release artifact
4043
if: runner.os == "Linux"
44+
shell: bash
4145
run: |
4246
mkdir $RUNNER_TEMP/android
4347
tar -C $RUNNER_TEMP/android -xf cross-build/${{ inputs.triplet }}/dist/*
4448
4549
- name: Tests
4650
if: runner.os == "Linux"
51+
shell: bash
4752
run: |
4853
$RUNNER_TEMP/android/android.py test --managed maxVersion -v -- \
4954
-uall --single-process --rerun -W

.github/zizmor.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@ rules:
88
config:
99
policies:
1010
"*": ref-pin
11-
obfuscation:
12-
ignore:
13-
- build.yml

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ repos:
7272
- id: actionlint
7373

7474
- repo: https://github.com/woodruffw/zizmor-pre-commit
75-
rev: v1.11.0
75+
rev: v1.6.0
7676
hooks:
7777
- id: zizmor
78+
exclude: ^.github/actions/
7879

7980
- repo: https://github.com/sphinx-contrib/sphinx-lint
8081
rev: v1.0.0

0 commit comments

Comments
 (0)