Merge branch 'ssv-staking' into feature/fuzz-tests #1229
This file contains hidden or 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] | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Install dependencies | |
| run: npm ci | |
| env: | |
| GH_TOKEN: ${{ secrets.github_token }} | |
| - name: Compile contracts (Hardhat) | |
| run: npx hardhat compile --force | |
| - name: Run Slither | |
| uses: crytic/slither-action@v0.3.2 | |
| id: slither | |
| with: | |
| fail-on: high | |
| target: . | |
| slither-args: --hardhat-ignore-compile --exclude controlled-delegatecall,incorrect-return --filter-paths "contracts/test/" --exclude-informational --exclude-dependencies |