diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index c53fba1..ed99244 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -27,3 +27,8 @@ jobs: cd $(EXTENSION_DIRECTORY) python -m build displayName: 'Build $(EXTENSION_NAME) Extension' + - bash: | + pip install pip-audit + cd $(EXTENSION_DIRECTORY) + pip-audit . + displayName: 'Run vulnerability scan' diff --git a/eng/templates/official/jobs/base-unit-tests.yml b/eng/templates/official/jobs/base-unit-tests.yml index 87b79b8..db37bd4 100644 --- a/eng/templates/official/jobs/base-unit-tests.yml +++ b/eng/templates/official/jobs/base-unit-tests.yml @@ -12,6 +12,8 @@ jobs: PYTHON_VERSION: '3.10' python311: PYTHON_VERSION: '3.11' + python312: + PYTHON_VERSION: '3.12' steps: - task: UsePythonVersion@0 diff --git a/eng/templates/official/jobs/blob-unit-tests.yml b/eng/templates/official/jobs/blob-unit-tests.yml index 363e54e..b8499c7 100644 --- a/eng/templates/official/jobs/blob-unit-tests.yml +++ b/eng/templates/official/jobs/blob-unit-tests.yml @@ -10,6 +10,8 @@ jobs: PYTHON_VERSION: '3.10' python311: PYTHON_VERSION: '3.11' + python312: + PYTHON_VERSION: '3.12' steps: - task: UsePythonVersion@0 diff --git a/eng/templates/official/jobs/build-artifacts.yml b/eng/templates/official/jobs/build-artifacts.yml index 2086f2b..5f12e1a 100644 --- a/eng/templates/official/jobs/build-artifacts.yml +++ b/eng/templates/official/jobs/build-artifacts.yml @@ -33,3 +33,8 @@ jobs: cd $(EXTENSION_DIRECTORY) python -m build displayName: 'Build $(EXTENSION_NAME) Extension' + - bash: | + pip install pip-audit + cd $(EXTENSION_DIRECTORY) + pip-audit . + displayName: 'Run vulnerability scan' diff --git a/eng/templates/official/jobs/fastapi-unit-tests.yml b/eng/templates/official/jobs/fastapi-unit-tests.yml index 8f8fda6..59f0678 100644 --- a/eng/templates/official/jobs/fastapi-unit-tests.yml +++ b/eng/templates/official/jobs/fastapi-unit-tests.yml @@ -12,6 +12,8 @@ jobs: PYTHON_VERSION: '3.10' python311: PYTHON_VERSION: '3.11' + python312: + PYTHON_VERSION: '3.12' steps: - task: UsePythonVersion@0