Bump undici from 5.29.0 to 6.24.0 #9
This file contains hidden or 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@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: onbjerg/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Install yarn | |
| run: yarn | |
| - name: Install dependencies | |
| run: forge install | |
| - name: Run tests | |
| run: forge test -vvv --via-ir --optimizer-runs 1 --no-match-path "./contracts/capo/*" | |
| env: | |
| ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |
| SNOWTRACE_KEY: ${{ secrets.SNOWTRACE_KEY }} | |
| INFURA_KEY: ${{ secrets.INFURA_KEY }} | |
| POLYGONSCAN_KEY: ${{ secrets.POLYGONSCAN_KEY }} | |
| OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }} | |
| MANTLESCAN_KEY: ${{ secrets.MANTLESCAN_KEY }} | |
| SCROLLSCAN_KEY: ${{ secrets.SCROLLSCAN_KEY }} | |
| UNICHAIN_QUICKNODE_KEY: ${{ secrets.UNICHAIN_QUICKNODE_KEY }} | |
| - name: Build Comet with older solc versions | |
| run: | | |
| forge build --contracts contracts/Comet.sol --use solc:0.8.15 --via-ir --optimizer-runs 1 |