Add initial commit #20
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Check Foundry version | |
run: | | |
forge --version | |
- name: Install dependencies | |
run: forge install | |
- name: Check contract sizes | |
run: forge build --sizes | |
- name: Check gas snapshots | |
run: forge snapshot --check |