Skip to content

Merge pull request #129 from PufferFinance/refactoring/non-breaking-c… #293

Merge pull request #129 from PufferFinance/refactoring/non-breaking-c…

Merge pull request #129 from PufferFinance/refactoring/non-breaking-c… #293

Workflow file for this run

name: CI
on:
push:
branches:
- master
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-ca67d15f4abd46394b324c50e21e66f306a1162d
- 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