Skip to content

Commit

Permalink
Merge pull request #3 from vechain/temp-remove-slither-from-ci
Browse files Browse the repository at this point in the history
refactor: slither removal from ci
  • Loading branch information
pierobassa authored Jun 12, 2024
2 parents bf13a2a + 01f60e3 commit 284a205
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,3 @@ jobs:

- name: Unit Tests
run: yarn test:hardhat

- name: Run Slither
uses: crytic/[email protected]
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 })

0 comments on commit 284a205

Please sign in to comment.