Skip to content

Feature/code documentation #107

Feature/code documentation

Feature/code documentation #107

Workflow file for this run

name: Slither Analysis
on:
push:
branches: [ develop ]
pull_request:
branches: [ master, develop ]
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set .env
run: cp .env.example .env
- name: Run Slither
uses: crytic/[email protected]
id: slither
with:
fail-on: high
sarif: results.sarif
slither-config: slither.config.json
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}