Skip to content

Commit 5a9c795

Browse files
authored
Refactor GitHub Actions workflow for validation
Updated the GitHub Actions workflow to use 'ubuntu-latest' runner, removed unused steps, and adjusted timeout for validation.
1 parent 7056a59 commit 5a9c795

1 file changed

Lines changed: 3 additions & 41 deletions

File tree

.github/workflows/master.yml

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,17 @@ on:
44
push:
55
branches:
66
- master
7-
- demo
8-
paths-ignore:
9-
- 'developer-preview/**'
10-
117
permissions:
128
id-token: write
139

1410
concurrency:
1511
group: ${{ github.workflow }}-${{ github.ref }}
1612
cancel-in-progress: true
1713

18-
env:
19-
ETHERSCAN_API_HOST: proxyetherscan-ci.api.live.ledger.com
20-
2114
jobs:
2215
validate_descriptors:
2316
name: 🔎 validate descriptors
24-
runs-on: public-ledgerhq-shared-small
17+
runs-on: ubuntu-latest
2518
timeout-minutes: 60
2619
steps:
2720

@@ -36,42 +29,11 @@ jobs:
3629
python-version: '3.12'
3730
cache: 'pip'
3831

39-
- name: Login to Ledger JFrog
40-
timeout-minutes: 10
41-
uses: LedgerHQ/actions-security/actions/jfrog-login@actions/jfrog-login-1
42-
43-
- name: Setup pip
44-
timeout-minutes: 10
45-
run: jf pipc --global --repo-resolve=virtual-pypi-prod-green
46-
4732
- name: Install ERC-7730 library
4833
timeout-minutes: 10
49-
run: jf pip install erc7730
34+
run: pip install erc7730
5035

5136
- name: Validate ERC-7730 descriptors
52-
timeout-minutes: 10
37+
timeout-minutes: 30
5338
run: erc7730 lint registry --gha
5439

55-
update_cal:
56-
name: 🔁 trigger updates
57-
runs-on: public-ledgerhq-shared-small
58-
timeout-minutes: 60
59-
steps:
60-
61-
- name: Trigger update on LedgerHQ/crypto-assets
62-
if: ${{ !cancelled() }}
63-
timeout-minutes: 60
64-
uses: peter-evans/repository-dispatch@v4
65-
with:
66-
token: ${{ secrets.CI_BOT_TOKEN }}
67-
repository: LedgerHQ/crypto-assets
68-
event-type: submodules
69-
70-
- name: Trigger update on LedgerHQ/python-erc7730
71-
if: ${{ !cancelled() }}
72-
timeout-minutes: 60
73-
uses: peter-evans/repository-dispatch@v4
74-
with:
75-
token: ${{ secrets.CI_BOT_TOKEN }}
76-
repository: LedgerHQ/python-erc7730
77-
event-type: submodules

0 commit comments

Comments
 (0)