Update names #13
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: | |
branches: | |
- "main" # This will match pushes to all branches | |
workflow_dispatch: | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry project | |
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: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Install Foundry dependencies | |
run: | | |
forge --version | |
forge install | |
id: forge-install | |
- name: Install pnpm dependencies | |
run: | | |
pnpm install | |
id: pnpm-install | |
- name: Run Forge tests | |
run: | | |
pnpm test -- --gas-report | |
id: test |