Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mcp-coinbase committed Sep 18, 2024
1 parent a190450 commit 9ac1cab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,42 +1,26 @@
name: "slither-action-foundry"
description: "Runs Slither, the Solidity static analyzer. Only supports Foundry projects."
name: "4naly3er-action"
description: "Runs 4naly3er, a Solidity static analyzer. Supports Foundry and Hardhat projects."
inputs:
solc-version:
description: "The version of solc to use. Should be autodetected, but may be specified manually."
description: "Optional. The version of solc to use. Should be autodetected, but may be specified manually."
node-version:
description: "The version of node to use."
description: "Optional. The version of node to use."
default: 20
target:
description: "The path of the project that Slither should analyze, relative to the repo root."
description: "Optional. The path of the project that 4naly3er should analyze, relative to the repo root."
default: .
type: string
sarif:
description: "If provided, the path of the SARIF file to produce, relative to the repo root."
slither-args:
description: "Extra arguments to pass to Slither."
slither-config:
description: "The path to the Slither configuration file. By default, `./slither.config.json` is used if present."
slither-version:
description: "The version of slither-analyzer to use. By default, the latest release in PyPI is used."
slither-plugins:
description: "A requirements.txt file to install alongside Slither. Useful to install custom plugins."
ignore-compile:
description: "Whether to ignore the compilation step when running crytic-compile and Slither."
default: false
type: boolean
fail-on:
description: "Cause the action to fail if Slither finds any findings of this severity or higher. By default it will fail if any finding is found"
default: all
type: string
foundry-version:
description: Commit hash for foundry to install
description: "Optional. Commit hash for foundry to install"
default: 'dbc48ea'
type: string
outputs:
sarif:
description: "If produced, the path of the SARIF file, relative to the repo root."
stdout:
description: "Standard output from Slither. Works well when passing `--checklist` in slither-args."
description: "Standard output from 4naly3er. Works well when passing `--checklist` in slither-args."
# markdown:
# description: "Markdown-style report from 4naly3er" #Not sure if this works but we should consider saving the artifact.
runs:
using: composite

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Slither Analysis
name: 4naly3er Analysis
# Config File for CBHQ Github Repos
on:
# Only run this action on pushes / pull requests to main branch
Expand All @@ -20,8 +20,8 @@ jobs:
with:
submodules: recursive

- name: Run Slither Action
uses: ./.github/actions/slither-action
- name: Run 4naly3er Action
uses: ./.github/actions/4naly3er-action
id: slither
with:
sarif: /tmp/report.sarif.json
Expand Down

0 comments on commit 9ac1cab

Please sign in to comment.