Skip to content

Commit ae24e5f

Browse files
committed
Add github action to verify dependency keys
1 parent 87d09d4 commit ae24e5f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/android-audit.yml

+26
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,29 @@ jobs:
7575

7676
- name: Ensure no changes
7777
run: git diff --exit-code
78+
79+
verify-lockfile-keys:
80+
needs: prepare
81+
name: Verify lockfile keys
82+
runs-on: ubuntu-latest
83+
container:
84+
image: ${{ needs.prepare.outputs.container_image }}
85+
steps:
86+
# Fix for HOME path overridden by GH runners when building in containers, see:
87+
# https://github.com/actions/runner/issues/863
88+
- name: Fix HOME path
89+
run: echo "HOME=/root" >> $GITHUB_ENV
90+
91+
- name: Set locale
92+
run: echo "LC_ALL=C.UTF-8" >> $GITHUB_ENV
93+
94+
- uses: actions/checkout@v4
95+
96+
- name: Fix git dir
97+
run: git config --global --add safe.directory $(pwd)
98+
99+
- name: Create Android rustJniLibs dir
100+
run: mkdir -p android/app/build/rustJniLibs/android
101+
102+
- name: Verify lockfile keys
103+
run: android/scripts/verify-lockfile-keys.sh

0 commit comments

Comments
 (0)