Use ubuntu-24 to run benchmarks (#16145)

This commit is contained in:
Shaygan Hooshyari 2025-02-13 23:05:51 +01:00 committed by GitHub
parent cb8b23d609
commit bb15c7653a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ jobs:
just test just test
benchmarks: benchmarks:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
needs: determine_changes needs: determine_changes
if: ${{ github.repository == 'astral-sh/ruff' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }} if: ${{ github.repository == 'astral-sh/ruff' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
timeout-minutes: 20 timeout-minutes: 20