Skip to content

Update README.md

Update README.md #16

Workflow file for this run

name: Tests
on:
push:
branches:
- "main"
- "develop"
pull_request:
types: [ready_for_review, synchronize, opened]
env:
FOUNDRY_PROFILE: ci
MAINNET_RPC_URL: 'https://mainnet.gateway.tenderly.co'
POLYGON_RPC_URL: 'https://polygon.gateway.tenderly.co'
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install yarn and dependencies
run: npm install -g yarn && yarn
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Solhint linter
run: npx solhint "src/core/*.sol" && npx solhint "src/periphery/*.sol"
- name: Test
run: yarn test