Skip to content

Merge pull request #843 from molecula451/improved-readme #12

Merge pull request #843 from molecula451/improved-readme

Merge pull request #843 from molecula451/improved-readme #12

name: Slither Analysis
on:
push:
branches:
- development
- main
paths:
- '**.sol'
pull_request:
paths:
- '**.sol'
jobs:
slither-analysis:
name: Slither Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Slither
run: pip3 install slither-analyzer
- name: Install dependencies
run: |
yarn install
yarn workspace @ubiquity/contracts forge:install
- name: Test with Slither
run: yarn workspace @ubiquity/contracts run test:slither