diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 2bafb5943c..b85f10c5c7 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -7,7 +7,7 @@ on: pull_request: push: branches: - - '*' + - main permissions: contents: read # to fetch code (actions/checkout) @@ -25,6 +25,9 @@ jobs: env: CARGO_INCREMENTAL: 0 strategy: + # Stagger the jobs: 70 concurrent runners hitting the GitHub cache API + # (rust-cache + sccache + CodSpeed) at once triggers HTTP 429s. + max-parallel: 12 matrix: type: [simulation, memory] package: [