fix meta #90
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: Tests | |
on: [push] | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Forge version | |
run: forge --version | |
id: forge-version | |
- name: Forge install shallow | |
run: forge install --shallow | |
id: forge-install-shallow | |
- name: git status | |
run: git status | |
id: git-status | |
- name: Run Forge fmt | |
run: forge fmt --check | |
id: fmt | |
- name: Run Forge build | |
run: forge build --sizes | |
id: build | |
- name: Run Forge tests | |
run: forge test -vvv --gas-report | |
id: test |