Important
Aderyn CI Assistant is retired and no longer maintained. Do not add this action to new workflows. Aderyn's CLI release downloads have been withdrawn and its npm package is retired, so existing runs that install Aderyn may fail.
Remove or replace any workflow step that uses Cyfrin/aderyn-ci, including steps
pinned to a version tag or commit SHA. Review the workflow's remaining checks so
it no longer depends on Aderyn's results.
Removing the GitHub Marketplace listing does not disable references to existing tags or commit SHAs, or remove this action from your workflows. Migrating those workflows is a separate task.
The documentation below is retained to help identify and migrate existing configurations. It is not a supported installation guide.
This action used Aderyn to perform static analysis on Solidity codebases in CI.
- Dependencies must be installed
- Project must compile successfully
- name: Aderyn Check
uses: Cyfrin/aderyn-ci@v0
with:
fail-on: highAvailable input variations:
fail-onwarn-on
The former fails the CI step while latter only emits warnings that can be seen in the Actions summary.
Both can take up the following values - high, low or any
on: [push]
name: test
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Run tests
run: forge test -vvv
- name: Aderyn Check
uses: Cyfrin/aderyn-ci@v0
with:
fail-on: high