Skip to content

chore(BACK-7692): CI fixes (#14) #2

chore(BACK-7692): CI fixes (#14)

chore(BACK-7692): CI fixes (#14) #2

Workflow file for this run

name: ✨ master
on:
push:
branches:
- master
permissions:
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate_descriptors:
name: 🔎 validate descriptors
runs-on: public-ledgerhq-shared-small
timeout-minutes: 60
steps:
- name: Checkout
timeout-minutes: 10
uses: actions/checkout@v4
- name: Setup python
timeout-minutes: 10
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Login to Ledger JFrog
timeout-minutes: 10
uses: LedgerHQ/actions-security/actions/jfrog-login@actions/jfrog-login-1
- name: Setup pip
timeout-minutes: 10
run: jf pipc --global --repo-resolve=virtual-pypi-prod-green
- name: Install ERC-7730 library
timeout-minutes: 10
run: jf pip install erc7730
- name: Validate ERC-7730 descriptors
timeout-minutes: 10
run: erc7730 lint registry --gha
update_cal:
name: 🔁 trigger Ledger Crypto Assets List update
runs-on: ledgerhq-shared-small
timeout-minutes: 60
strategy:
matrix:
repo: ['LedgerHQ/crypto-assets', 'LedgerHQ/crypto-assets-clear-signing-initiative', 'LedgerHQ/python-erc7730']
steps:
- name: Trigger update on ${{ matrix.repo }}
timeout-minutes: 60
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CI_BOT_TOKEN }}
repository: ${{ matrix.repo }}
event-type: submodules