Skip to content

Commit

Permalink
Merge pull request #11 from The-Poolz/issue-10
Browse files Browse the repository at this point in the history
add api inputs
  • Loading branch information
Lomet authored Jun 6, 2024
2 parents a548473 + f34a7bf commit cb1139b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
codecov_token:
description: 'Codecov token'
required: true
bscscan_api_key:
description: 'BSCSCAN token'
required: false
cmc_api_key:
description: 'CMC token'
required: false

jobs:
setup:
Expand All @@ -14,6 +20,9 @@ jobs:
test:
needs: setup
uses: ./.github/workflows/gas-test.yml
secrets:
bscscan_api_key: ${{ secrets.BSCSCAN_API_KEY }}
cmc_api_key: ${{ secrets.CMC_API_KEY }}

slither-test:
needs: setup
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/gas-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: Gas Test

on:
workflow_call:
secrets:
bscscan_api_key:
description: 'BSCSCAN token'
required: false
cmc_api_key:
description: 'CMC token'
required: false

jobs:
Test:
Expand Down

0 comments on commit cb1139b

Please sign in to comment.