github action yaml fix #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Aderyn Static Analysis | |
on: | |
pull_request: | |
branches: | |
- ci/aderyn-analysis | |
- main | |
push: | |
branches: | |
- ci/aderyn-analysis | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
aderyn: | |
runs-on: blacksmith-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install Cyfrinup | |
run: | | |
curl -L https://raw.githubusercontent.com/Cyfrin/aderyn/dev/cyfrinup/install | bash | |
source ~/.bashrc | |
- name: Install Aderyn | |
run: cyfrinup | |
- name: Run Aderyn | |
run: aderyn | |