Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nouhaila49 authored Apr 10, 2024
1 parent 80c7370 commit b0ae1d9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on: [push]

jobs:
sast_scan:
name: Run Bandit Scan
runs-on: ubuntu-latest

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

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

- name: Bandit installation
run: pip install bandit

- name: Run Bandit Scan
run: bandit -r .

0 comments on commit b0ae1d9

Please sign in to comment.