From 01f60e32f82ab677d9722856e6a95bfda68242bd Mon Sep 17 00:00:00 2001 From: Piero Bassa Date: Wed, 12 Jun 2024 11:42:36 +0200 Subject: [PATCH] refactor: slither removal from ci --- .github/workflows/unit-tests.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a5ba44b..e4157c2 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -34,24 +34,3 @@ jobs: - name: Unit Tests run: yarn test:hardhat - - - name: Run Slither - uses: crytic/slither-action@v0.3.1 - id: slither - with: - ignore-compile: true - solc-version: "0.8.20" - fail-on: none - slither-args: --filter-paths "openzeppelin" --exclude-informational --exclude-optimization --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/ - - - name: Create/update checklist as PR comment - uses: actions/github-script@v7 - if: github.event_name == 'pull_request' && steps.contract_changes.outputs.src == 'true' - env: - REPORT: ${{ steps.slither.outputs.stdout }} - with: - script: | - const script = require('.github/scripts/comment') - const header = '# Slither report' - const body = process.env.REPORT - await script({ github, context, header, body })