generated from aicoe-aiops/project-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from os-climate/enable-security-auditing
Feat: Enable Python security audit workflow
- Loading branch information
Showing
1 changed file
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,11 +24,6 @@ jobs: | |
- name: 'Checkout repository' | ||
uses: actions/checkout@v4 | ||
|
||
- name: 'Setup PDM for build commands' | ||
uses: pdm-project/setup-pdm@v3 | ||
with: | ||
version: 2.10.0 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -37,13 +32,11 @@ jobs: | |
- name: 'Install dependencies' | ||
run: | | ||
pip install --upgrade pip | ||
pdm lock | ||
pdm export -o requirements.txt | ||
python -m pip install -r requirements.txt | ||
python -m pip install . | ||
- name: 'Run: pip-audit' | ||
uses: pypa/[email protected] | ||
with: | ||
ignore-vulns: | | ||
PYSEC-2023-163 | ||
# with: | ||
# ignore-vulns: | | ||
# PYSEC-2023-163 |