From 1ff33e5430ccc9aa9205fae7d6ba56a4a8f9ed28 Mon Sep 17 00:00:00 2001 From: Denis Kolegov Date: Fri, 22 Mar 2024 18:23:31 +0100 Subject: [PATCH] fix slither config --- .github/workflows/slither.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/slither.yaml b/.github/workflows/slither.yaml index 6b7a2ab79..0479e410b 100644 --- a/.github/workflows/slither.yaml +++ b/.github/workflows/slither.yaml @@ -13,6 +13,15 @@ jobs: with: submodules: recursive + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 18.18.0 + cache: yarn + + - name: Install dependencies + run: yarn + - name: prepare contracts run: rm -rf ./l1-contracts/dev-contracts && rm -rf ./l1-contracts/state-transition/TestnetVerifier.sol && @@ -22,6 +31,7 @@ jobs: - name: Run Slither uses: crytic/slither-action@v0.3.0 with: + node-version: 18 fail-on: critical target: 'l1-contracts' - slither-config: 'l1-contracts/slither.config.json' + slither-config: 'slither.config.json'