Skip to content

Commit

Permalink
ci: use erc7730 from PyPI instead of internal repository (#29)
Browse files Browse the repository at this point in the history
* ci: use `erc7730` from PyPI instead of internal repository

see LedgerHQ/python-erc7730#57

* revert to jfrog for master workflow

---------

Co-authored-by: lcastillo-ledger <[email protected]>
  • Loading branch information
jnicoulaud-ledger and lcastillo-ledger authored Oct 10, 2024
1 parent 12ff704 commit 02302c5
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths-ignore:
- 'developer-preview/**'

permissions:
id-token: write
contents: read
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -51,20 +46,10 @@ jobs:
python-version: '3.12'
cache: 'pip'

- name: Login to Ledger JFrog
timeout-minutes: 10
if: steps.changed-descriptor-files.outputs.any_changed == 'true'
uses: LedgerHQ/actions-security/actions/jfrog-login@actions/jfrog-login-1

- name: Setup pip
timeout-minutes: 10
if: steps.changed-descriptor-files.outputs.any_changed == 'true'
run: jf pipc --global --repo-resolve=virtual-pypi-prod-green

- name: Install ERC-7730 library
timeout-minutes: 10
if: steps.changed-descriptor-files.outputs.any_changed == 'true'
run: jf pip install erc7730
run: pip install erc7730

- name: Validate ERC-7730 descriptors changed in pull request
timeout-minutes: 10
Expand Down

0 comments on commit 02302c5

Please sign in to comment.