chore: run medusa in CI #8
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: Run medusa | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
tests: | |
concurrency: ci-medusa-${{ github.head_ref || github.run_id }} | |
runs-on: ubuntu-latest | |
container: | |
image: trailofbits/eth-security-toolbox:nightly | |
options: --user root | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile --network-concurrency 1 | |
- name: Run medusa for five minutes | |
run: sudo -lu ethsec medusa fuzz --timeout 30 | |