Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RinkuDas7857 authored Dec 3, 2023
1 parent 333d9ce commit 5f84d58
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Code Scan

on:
push:
branches:
- main

jobs:
code-scan:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install slither-analyzer
- name: Run Slither Scan
run: |
slither .

0 comments on commit 5f84d58

Please sign in to comment.