diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ecb989f..b729e2e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}." diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml new file mode 100644 index 00000000..a947f73a --- /dev/null +++ b/.github/workflows/slither.yml @@ -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: "." \ No newline at end of file