ci: use python3.10 for pip-audit (dotenv 1.2.2 requires >=3.10)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -55,13 +55,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install pip-audit
|
- name: Install Python 3.10 and pip-audit
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq && apt-get install -y -qq python3-pip python3-venv
|
apt-get update -qq && apt-get install -y -qq python3.10 python3.10-venv python3-pip
|
||||||
python3 -m pip install pip-audit
|
python3.10 -m pip install pip-audit
|
||||||
|
|
||||||
- name: Audit matrixbot dependencies
|
- name: Audit matrixbot dependencies
|
||||||
run: python3 -m pip_audit -r matrixbot/requirements.txt
|
run: python3.10 -m pip_audit -r matrixbot/requirements.txt
|
||||||
|
|
||||||
secret-scan:
|
secret-scan:
|
||||||
name: Secret scan (gitleaks)
|
name: Secret scan (gitleaks)
|
||||||
|
|||||||
Reference in New Issue
Block a user