Skip to content

Commit

Permalink
Fix CI (#30)
Browse files Browse the repository at this point in the history
* Remove PRB

* chore: remove PRBTest

* fix: variables on foundry.toml

* feat: add infura key and RPCs

* Maybe without brackets

* Maybe without nesting

---------

Co-authored-by: alcueca <[email protected]>
  • Loading branch information
alcueca and alcueca authored Feb 24, 2024
1 parent 1f72c66 commit c3b5abd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ name: "CI"

env:
API_KEY_ALCHEMY: ${{ secrets.API_KEY_ALCHEMY }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
ARBITRUM_RPC: "https://arb-mainnet.g.alchemy.com/v2/${{ secrets.API_KEY_ALCHEMY }}"
AVALANCHE_RPC: "https://avalanche-mainnet.infura.io/v3/${{ secrets.API_KEY_INFURA }}"
BASE_RPC: "https://base.drpc.org"
BNB_RPC: "https://bsc-dataseed.binance.org"
GNOSIS_RPC: "https://rpc.gnosischain.com"
GOERLI_RPC: "https://goerli.infura.io/v3/${{ secrets.API_KEY_INFURA }}"
LOCALHOST_RPC: "http://127.0.0.1:8545"
MAINNET_RPC: "https://eth-mainnet.g.alchemy.com/v2/${{ secrets.API_KEY_ALCHEMY }}"
OPTIMISM_RPC: "https://optimism-mainnet.infura.io/v3/${{ secrets.API_KEY_INFURA }}"
POLYGON_RPC: "https://polygon-mainnet.infura.io/v3/${{ secrets.API_KEY_INFURA }}"
SEPOLIA_RPC: "https://sepolia.infura.io/v3/${{ secrets.API_KEY_INFURA }}"
FOUNDRY_PROFILE: "ci"

on:
Expand Down
23 changes: 12 additions & 11 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@
wrap_comments = true

[rpc_endpoints]
arbitrum_one = "https://arbitrum.llamarpc.com"
avalanche = "https://avalanche-mainnet.infura.io/v3/${API_KEY_INFURA}"
bnb_smart_chain = "https://bsc-dataseed.binance.org"
gnosis_chain = "https://rpc.gnosischain.com"
goerli = "https://goerli.infura.io/v3/${API_KEY_INFURA}"
localhost = "http://localhost:8545"
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
optimism = "https://optimism-mainnet.infura.io/v3/${API_KEY_INFURA}"
polygon = "https://polygon.llamarpc.com"
sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}"
base = "https://base.llamarpc.com"
arbitrum_one = "${ARBITRUM_RPC}"
avalanche = "${AVALANCHE_RPC}"
base = "${BASE_RPC}"
bnb_smart_chain = "${BNB_RPC}"
gnosis = "${GNOSIS_RPC}"
goerli = "${GOERLI_RPC}"
localhost = "http://127.0.0.1:8545"
mainnet = "${MAINNET_RPC}"
optimism = "${OPTIMISM_RPC}"
polygon = "${POLYGON_RPC}"
sepolia = "${SEPOLIA_RPC}"

0 comments on commit c3b5abd

Please sign in to comment.