Skip to content

Merge pull request #81 from PufferFinance/vt-pricer-role #162

Merge pull request #81 from PufferFinance/vt-pricer-role

Merge pull request #81 from PufferFinance/vt-pricer-role #162

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-de33b6af53005037b463318d2628b5cfcaf39916
- name: Install deps
run: forge install
- name: Run tests
run: forge test -vvv --match-path './test/unit/*'
# - name: Check gas snapshots
# run: forge snapshot
slither:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crytic/[email protected]
with:
node-version: 16
solhint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Install solhint
run: npm i -g solhint
- name: Run solhint
run: solhint 'src/*.sol'
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run CodeSpell
uses: codespell-project/[email protected]
with:
check_hidden: true
check_filenames: true
skip: package-lock.json,*.pdf,./.git