From 5af381d85c342678c482d7007db8c4959b883860 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 25 Jan 2024 10:43:25 +1000 Subject: [PATCH] Change how slither is installed and run --- .github/workflows/test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 989dc016..94329dd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,12 +72,16 @@ jobs: name: Run slither runs-on: ubuntu-latest steps: + - name: Setup Slither1 + uses: sudo apt install python3-setuptools + - name: Setup Slither2 + uses: sudo apt install python3-pip + - name: Setup Slither3 + uses: sudo pip3 install doge - name: Checkout Code uses: actions/checkout@v3 - name: Run slither - uses: crytic/slither-action@v0.3.0 - with: - slither-args: --compile-force-framework forge --foundry-out-directory foundry-out + uses: slither --compile-force-framework forge --foundry-out-directory foundry-out . publish: name: Publish to NPM (dry run) runs-on: ubuntu-latest