forked from LedgerHQ/ledger-app-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.38 KB
/
_check_app_load_params.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Check APP_LOAD_PARAMS
on:
workflow_call:
inputs:
ledger-app-workflows_ref:
description: 'The current reference in use for the ledger-app-workflow repository'
required: true
type: string
download_manifest_artifact_name:
description: 'The name of the artifact containing the built manifest'
required: true
type: string
jobs:
check_app_load_params:
name: Check APP_LOAD_PARAMS
runs-on: ubuntu-latest
steps:
- name: Clone workflows repository
uses: actions/checkout@v4
with:
repository: LedgerHQ/ledger-app-workflows
path: ./ledger-app-workflows
ref: ${{ inputs.ledger-app-workflows_ref }}
- name: Clone ledger-app-database repository
uses: actions/checkout@v4
with:
repository: LedgerHQ/ledger-app-database
path: ./ledger-app-database
ref: main
- name: Download manifest
uses: actions/download-artifact@v4
with:
name: ${{ inputs.download_manifest_artifact_name }}
path: ${{ inputs.download_manifest_artifact_name }}
- name: Run script
run: |
python3 ./ledger-app-database/scripts/app_load_params_check.py \
--database_path ./ledger-app-database/app-load-params-db.json \
--app_manifests_path ${{ inputs.download_manifest_artifact_name }}