Skip to content

added isAllowedToken modifier to liquidate() (#102) #33

added isAllowedToken modifier to liquidate() (#102)

added isAllowedToken modifier to liquidate() (#102) #33

Workflow file for this run

on: [push, pull_request, workflow_dispatch]
name: Run Aderyn
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install aderyn
run: cargo install aderyn
- name: Run aderyn
run: aderyn . -o ci-report.json
- name: Check report
run: |
jq '.issue_count | .critical, .high, .medium' ci-report.json | while read value; do
if [ "$value" -gt 0 ]; then
echo "Found issues: critical, high, or medium issue count is above zero."
exit 1
fi
done