File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed
Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -34,28 +34,16 @@ jobs:
3434 run : |
3535 pip install pip-audit
3636 pip install -r requirements.txt
37- pip-audit -r requirements.txt -o json > audit-result.json
38- if [ -s audit-result.json ]; then
39- echo "Vulnerabilities found!"
40- cat audit-result.json
41- exit 1
42- else
43- echo "No vulnerabilities found"
44- fi
37+ echo "running audit...."
38+ pip-audit -r requirements.txt
4539 working-directory : xero-python
4640
4741 - name : Run audit on dev.txt
4842 run : |
4943 pip install pip-audit
5044 pip install -r requirements/dev.txt
51- pip-audit -r requirements/dev.txt -o json > audit-result.json
52- if [ -s audit-result.json ]; then
53- echo "Vulnerabilities found!"
54- cat audit-result.json
55- exit 1
56- else
57- echo "No vulnerabilities found"
58- fi
45+ echo "running audit...."
46+ pip-audit -r requirements/dev.txt
5947 working-directory : xero-python
6048
6149 - name : Run Flake8
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ python-dateutil>=2.7
33urllib3 >= 2.2.3
44certifi
55setuptools >= 75.1.0
6+ django == 2.2.9
You can’t perform that action at this time.
0 commit comments