V6 update strategy tests #505
Workflow file for this run
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: Tokenlon Contracts CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Install Foundry and Setup | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Format | |
run: yarn run check-pretty | |
- name: Lint | |
run: | | |
yarn run lint | |
- name: Compile | |
run: | | |
yarn run compile | |
- name: Test | |
env: | |
MAINNET_NODE_RPC_URL: ${{ secrets.MAINNET_NODE_RPC_URL }} | |
FOUNDRY_PROFILE: CI | |
run: | | |
yarn run test-foundry-local | |
yarn run test-foundry-fork |