Skip to content

Add automated toolings for testing contracts #2

Add automated toolings for testing contracts

Add automated toolings for testing contracts #2

Workflow file for this run

name: Slither Analysis
#on: workflow_dispatch
on:
pull_request:
branches: [ main ]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Slither
run: |
sudo apt-get install -y python3-pip
pip3 install slither-analyzer
id: slither-install
- name: Run Slither-Mutate
run: |
slither-mutate . --test-cmd='forge test' --test-dir='test' --ignore-dirs='script,lib,test,utils'
id: slither-mutate