Base Sepolia Comet Deployments #1268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Forge Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
forge-tests: | |
name: Forge tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install dependencies | |
run: forge install | |
- name: Run tests | |
run: forge test -vvv --via-ir | |
env: | |
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |
SNOWTRACE_KEY: ${{ secrets.SNOWTRACE_KEY }} | |
INFURA_KEY: ${{ secrets.INFURA_KEY }} | |
POLYGONSCAN_KEY: ${{ secrets.POLYGONSCAN_KEY }} | |
ARBISCAN_KEY: ${{ secrets.ARBISCAN_KEY }} | |
LINEASCAN_KEY: ${{ secrets.LINEASCAN_KEY }} | |
- name: Build Comet with older solc versions | |
run: | | |
forge build --contracts contracts/Comet.sol --use solc:0.8.15 --via-ir |