From 5f84d58d94ab2903dce87c6d819194e43ac72292 Mon Sep 17 00:00:00 2001 From: Rinku Das <123223405+RinkuDas7857@users.noreply.github.com> Date: Sun, 3 Dec 2023 22:03:02 +0530 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..450b0ddd --- /dev/null +++ b/.github/workflows/main.yml @@ -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 . + +