feat: introduce OTC contract #446
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 | |
pull_request: | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 9.0.3 | |
- name: Install deps | |
run: pnpm i | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Forge build | |
run: | | |
pnpm build | |
id: build | |
- name: Run Lint | |
run: | | |
pnpm lint | |
id: lint | |
- name: Run Forge tests | |
run: | | |
pnpm test | |
id: test |