File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,14 @@ jobs:
2626 source venv/bin/activate
2727 pip install --upgrade pip
2828 pip install black
29- pip install pip-audit
3029 sudo pip install flake8
3130 pip install -r requirements.txt -r requirements/dev.txt
3231 working-directory : xero-python
3332
3433 - name : Run audit on requirements.txt
3534 run : |
35+ pip install pip-audit
36+ pip install -r requirements.txt
3637 pip-audit -r requirements.txt -o json > audit-result.json
3738 if [ -s audit-result.json ]; then
3839 echo "Vulnerabilities found!"
4546
4647 - name : Run audit on dev.txt
4748 run : |
49+ pip install pip-audit
50+ pip install -r requirements/dev.txt
4851 pip-audit -r requirements/dev.txt -o json > audit-result.json
4952 if [ -s audit-result.json ]; then
5053 echo "Vulnerabilities found!"
You can’t perform that action at this time.
0 commit comments