ci #1
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: test | |
on: [push, pull_request] | |
jobs: | |
check: | |
name: Token Types | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Compile | |
run: | | |
forge --version | |
forge build | |
id: build | |
- name: Test | |
run: | | |
forge test -vvv | |
id: test | |
- name: Gas Snapshot | |
run: | | |
forge snapshot --isolate | |
env: | |
FOUNDRY_PROFILE: ci |