From b81e20397f98bba3c3a94993be85f3efa5a78335 Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 15 Oct 2024 12:54:28 -0300 Subject: [PATCH] ci: basic medusa gh action (short timeout to debug it) --- .github/workflows/medusa.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/medusa.yml diff --git a/.github/workflows/medusa.yml b/.github/workflows/medusa.yml new file mode 100644 index 00000000..898e3a0c --- /dev/null +++ b/.github/workflows/medusa.yml @@ -0,0 +1,34 @@ +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: debug1 + run: pwd + - name: debug2 + run: id + - name: debug3 + run: ls -la + - name: debug4 + run: sudo chown -R ethsec:ethsec ${GITHUB_WORKSPACE} + - 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: medusa fuzz --timeout 30 +