Fix audit-licenses check for multiple Python versions [ci] (#129951)

This commit is contained in:
Marc Mueller 2024-11-06 14:20:14 +01:00 committed by GitHub
parent 57d1001603
commit 29fa7f827a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -622,13 +622,13 @@ jobs:
steps: steps:
- name: Check out code from GitHub - name: Check out code from GitHub
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
- name: Set up Python ${{ env.DEFAULT_PYTHON }} - name: Set up Python ${{ matrix.python-version }}
id: python id: python
uses: actions/setup-python@v5.3.0 uses: actions/setup-python@v5.3.0
with: with:
python-version: ${{ env.DEFAULT_PYTHON }} python-version: ${{ matrix.python-version }}
check-latest: true check-latest: true
- name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment - name: Restore full Python ${{ matrix.python-version }} virtual environment
id: cache-venv id: cache-venv
uses: actions/cache/restore@v4.1.2 uses: actions/cache/restore@v4.1.2
with: with:
@ -823,7 +823,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ${{ fromJson(needs.info.outputs.python_versions) }} python-version: ${{ fromJson(needs.info.outputs.python_versions) }}
name: Split tests for full run Python ${{ matrix.python-version }} name: Split tests for full run
steps: steps:
- name: Install additional OS dependencies - name: Install additional OS dependencies
run: | run: |