chore: format #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static Analysis | |
on: | |
push: | |
branches: "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
sudo snap install solc | |
python -m pip install --upgrade pip | |
pip install slither-analyzer==0.8.2 solc-select==0.2.1 | |
solc-select install 0.8.7 | |
solc-select use 0.8.7 | |
- name: Install submodules | |
run: | | |
git config --global url."https://github.com/".insteadOf "git@github.com:" | |
git submodule update --init --recursive | |
- name: Summary of static analysis | |
run: | | |
slither contracts --print human-summary | |
- name: Contract summary of static analysis | |
run: | | |
slither contracts --print contract-summary | |
- name: Function summary | |
run: | | |
slither contracts --print function-summary | |
- name: Inheritance | |
run: | | |
slither contracts --print inheritance | |
- name: Data dependency | |
run: | | |
slither contracts --print data-dependency | |
- name: Static Analysis | |
run: | | |
slither contracts | |
continue-on-error: true |