Skip to content

chore(BACK-7692): align CI with clear-signing-erc7730-registry (#222) #1

chore(BACK-7692): align CI with clear-signing-erc7730-registry (#222)

chore(BACK-7692): align CI with clear-signing-erc7730-registry (#222) #1

Workflow file for this run

name: main
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PIPENV_NOSPIN: 1
jobs:
ci:
name: ci
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
timeout-minutes: 10
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pipenv'
- name: Install pipenv
run: pip install -U pip pipenv wheel
- name: Install python dependencies
env:
PYPI_DEPLOY_TOKEN: ${{ secrets.PYPI_DEPLOY_TOKEN }}
run: pipenv sync --dev
- name: Validate files and format
id: validation
uses: selfagency/capture-output@v1
with:
cmd: pipenv
args: run,validate_files
update_cal:
runs-on: ubuntu-latest
needs: ci
timeout-minutes: 60
strategy:
matrix:
repo: ['LedgerHQ/crypto-assets', 'LedgerHQ/crypto-assets-clear-signing-initiative']
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