@@ -147,26 +147,36 @@ jobs:
147147 security-events : write
148148
149149 steps :
150- - uses : actions/checkout@v4
150+ - name : Checkout sources
151+ uses : actions/checkout@v4
152+ with :
153+ submodules : recursive
154+ persist-credentials : false
151155
152- - uses : actions/setup-node@v4
156+ - name : Install Nodejs
157+ uses : actions/setup-node@v4
153158 with :
154159 node-version : ' 18'
155- - run : yarn install --frozen-lockfile
156160
157- - uses : foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
161+ - name : Install foundry toolchain
162+ uses : foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
158163 with :
159164 version : nightly
160- - name : Build contracts
161- run : forge build --build-info --out out --evm-version cancun
162165
163- - uses : actions/setup-python@v5
166+ - Name : Install Python and Slither
167+ uses : actions/setup-python@v5
164168 with :
165169 python-version : ' 3.11'
166170 - run : |
167171 python -m pip install --upgrade pip
168172 pip install slither-analyzer==0.11.3
169173
174+ - name : Run yarn install
175+ run : yarn install --frozen-lockfile
176+
177+ - name : Build contracts
178+ run : forge build --build-info --out out --evm-version cancun
179+
170180 - name : Run Slither (High severity gate)
171181 run : |
172182 slither . \
@@ -180,7 +190,8 @@ jobs:
180190 --json slither-report.json \
181191 --markdown-root slither-report.md
182192
183- - uses : actions/upload-artifact@v4
193+ - name : Upload artifacts
194+ uses : actions/upload-artifact@v4
184195 with :
185196 name : slither-static-analysis
186197 path : |
0 commit comments