Skip to content

docs: update instructions to build and test #1

docs: update instructions to build and test

docs: update instructions to build and test #1

name: Lint, Build & Test
on:
push:
branches: [$default-branch, main]
pull_request:
branches: [$default-branch, main]
jobs:
lint-build-test:
name: Lint, Build & Test
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Install chain tools
run: |
curl -L https://foundry.paradigm.xyz | bash &&
~/.foundry/bin/foundryup
- name: Yarn install
run: |
yarn install --immutable
- name: Lint
run: |
yarn solhint ./**/*.sol
- name: Build
run: |
yarn build
- name: Test
run: |
yarn test