Repository navigation
Bump foundry-rs/foundry-toolchain from 1.8.0 to 1.9.1 #23
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: Build | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| check: | |
| name: Foundry project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@908c540300062bd5a7e473851cdb4282204cee09 # v1.9.1 | |
| with: | |
| version: nightly | |
| - name: Forge lint | |
| run: | | |
| forge lint | |
| id: lint | |
| - name: Forge build | |
| run: | | |
| forge --version | |
| forge build --sizes | |
| id: build | |
| # - name: Forge tests | |
| # run: | | |
| # forge test -vvv --rpc-url ${{ secrets.BSC_RPC_URL }} | |
| # id: test |