Skip to content

Commit

Permalink
security check with problem 10
Browse files Browse the repository at this point in the history
  • Loading branch information
meowsl committed May 16, 2024
1 parent 3e0a86b commit 9c433d3
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout Code
uses: actions/checkout@v4

- name: Set Python
uses: action/setup-python@v3
with:
python-version: 3.9.11

- name: Install Bandit
run: pip install bandit

- name: Run Scan
run: bandit -r ./server -f json -o bandit-report.json

- name: Start Scan bandit
uses: mdegis/[email protected]
- name: Upload Scan Artifact
uses: actions/upload-artifact@v4
if: always()
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
path: '.'
exit_zero: true
name: bandit-report
path: bandit-report.json

install-frontend:
name: Install Frontend
Expand Down

0 comments on commit 9c433d3

Please sign in to comment.