Skip to content

Commit

Permalink
Modified GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Chelsea486MHz committed Jan 4, 2024
1 parent 95df806 commit 9796dc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r auth/requirements.txt
pip install flake8
- name: Lint with flake8
Expand All @@ -43,13 +44,15 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r auth/requirements.txt
pip install bandit
- name: Run bandit
run: |
bandit -r auth/*.py || true
publish:
needs: [flake8, bandit]
runs-on: ubuntu-latest
steps:
- name: Check out source repository
Expand Down
3 changes: 1 addition & 2 deletions auth/app.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from flask import Flask, request
from flask import Flask, request, jsonify
from flask_sqlalchemy import SQLAlchemy
import datetime
import hashlib
import secrets
import json
import os

# Initialize Flask
Expand Down

0 comments on commit 9796dc2

Please sign in to comment.