Skip to content

Commit

Permalink
CI: Slither analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuben Rodrigues committed Nov 8, 2021
1 parent d93dfe7 commit 2de7f46
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build
name: CI
on: [push]
jobs:
test:
Tests:
runs-on: ubuntu-latest
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Security

on: [push]

jobs:
main_job:
runs-on: ubuntu-latest
name: Slither Security
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Slither Static Analysis
uses: Tenderize/slither-static-analysis-action@master
with:
slither-version: '0.8.1'
run-npm-install: true
high-threshold: 1
medium-threshold: 1
low-threshold: 1
optimization-threshold: 1
informative-threshold: 10
projectPath: "."

0 comments on commit 2de7f46

Please sign in to comment.