Skip to content

Merge pull request #36 from platypus-finance/develop #61

Merge pull request #36 from platypus-finance/develop

Merge pull request #36 from platypus-finance/develop #61

Workflow file for this run

name: Slither
on: ["push"]
jobs:
slither:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn
- name: slither .
uses: docker://platypusfinance/eth-security-toolbox
with:
args: |
-c "export HOME=/home/ethsec && cp -R /github/workspace /home/ethsec/workspace && \
cd /home/ethsec/workspace && slither ."