diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index c4eae882..c675cb04 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -15,6 +15,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + ETHERSCAN_API_HOST: etherscan.api.live.ledger.com + jobs: validate_descriptors: name: 🔎 validate descriptors @@ -26,14 +29,6 @@ jobs: timeout-minutes: 10 uses: actions/checkout@v4 - - name: Get API keys - timeout-minutes: 10 - shell: bash - run: | - cat << EOF | jq -r 'to_entries[] | select(.key|endswith("_API_KEY")) | "\(.key)=\(.value)"' >> "$GITHUB_ENV" - ${{ toJSON(secrets) }} - EOF - - name: Setup python timeout-minutes: 10 uses: actions/setup-python@v5 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cdd73444..241f6191 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,6 +9,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + ETHERSCAN_API_HOST: proxyetherscan.api.live.ledger.com + jobs: validate_descriptors: name: 🔎 validate descriptors @@ -29,15 +32,6 @@ jobs: registry/**/eip712-*.json registry/**/calldata-*.json - - name: Get API keys - timeout-minutes: 10 - if: steps.changed-descriptor-files.outputs.any_changed == 'true' - shell: bash - run: | - cat << EOF | jq -r 'to_entries[] | select(.key|endswith("_API_KEY")) | "\(.key)=\(.value)"' >> "$GITHUB_ENV" - ${{ toJSON(secrets) }} - EOF - - name: Setup python timeout-minutes: 10 if: steps.changed-descriptor-files.outputs.any_changed == 'true'