feat(ci): update workflows #14
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: Slither Analysis | |
on: | |
push: {} | |
workflow_dispatch: {} | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install Solc-Select | |
run: | | |
pip3 install solc-select | |
id: install | |
- name: Install Slither | |
run: | | |
pip3 install slither-analyzer | |
solc-select use 0.8.18 --always-install | |
id: setup | |
- name: Run Slither | |
run: | | |
slither . | |
id: Analyze |