Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dindonero authored Aug 25, 2021
1 parent 6339475 commit ae2a40a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ name: 'SmartBugs Static Analysis'
description: 'Run SmartBugs static analysis tools on Solidity Contracts in repo. Tools available: Honeybadger, Maian, Manticore, Mythril, Osiris, Oyente, Securify, Slither, SmartCheck, Solhint.'
inputs:
tool:
description: 'Specify tools to run the analysis separated by a semi-colon. By default all tools are run. Example: "oyente,mythril,maian".'
description: 'Specify tools to run the analysis. By default mythril and slither are run. Example: "oyente mythril maian".'
required: false
default: 'mythril,slither'
default: 'mythril slither'
runs:
using: "composite"
steps:
- name: Checkout
uses: actions/[email protected]
- name: "Run python"
shell: bash
run: python3 ${{ github.action_path }}/upload.py --tool ${{ inputs.tool }} --token ${{ github.sha }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: smartbugs/results/results.sarif

0 comments on commit ae2a40a

Please sign in to comment.