Skip to content

MVP Guild

MVP Guild #16

Workflow file for this run

name: Cairo static analysis
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Python setup
uses: actions/setup-python@v3
with:
python-version: "3.9"
cache: pip
cache-dependency-path: "**/requirements.txt"
- name: Env setup
run: pip install -r requirements.txt
- name: Install Amarna
run: git clone https://github.com/crytic/amarna.git && cd amarna && pip install -e .
- name: Run Amarna static analysis
run: amarna contracts/ -o out.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: out.sarif