Skip to content

Commit 819e2f3

Browse files
committed
setup safety cli
1 parent 2e250ce commit 819e2f3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,13 @@ jobs:
105105
- name: Install dependencies
106106
run: |
107107
python -m pip install --upgrade pip
108-
pip install safety bandit
108+
pip install bandit
109109
110-
- name: Run safety check
111-
run: |
112-
safety scan --full-report
110+
- name: Run Safety CLI to check for vulnerabilities
111+
uses: pyupio/safety-action@v1
112+
with:
113+
api-key: ${{ secrets.SAFETY_API_KEY }}
114+
args: --detailed-output # To always see detailed output from this action
113115

114116
- name: Run bandit security check
115117
run: |

0 commit comments

Comments
 (0)