ci: the script-only checks run on the arm64 runner #245

Merged
dcharlot merged 1 commit from ci/checks-on-arm64 into main 2026-10-14 03:44:40 -04:00
5 changed files with 23 additions and 8 deletions

View file

@ -24,10 +24,13 @@ on:
branches: [main]
pull_request:
# Runs on `linux-arm64`, not `linux`: these jobs read files and run scripts, so the CPU
# architecture does not matter to them, and the one `linux` (x86_64) runner is the
# fleet's bottleneck, with every Rust workspace's tests queued on it.
jobs:
current:
name: every Cargo.lock is current
runs-on: linux
runs-on: linux-arm64
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

View file

@ -88,10 +88,13 @@ on:
- 'scripts/check-public-names.sh'
- 'scripts/test-public-text-checks.sh'
# Runs on `linux-arm64`, not `linux`: these jobs read files and run scripts, so the CPU
# architecture does not matter to them, and the one `linux` (x86_64) runner is the
# fleet's bottleneck, with every Rust workspace's tests queued on it.
jobs:
scan:
name: Scan committed Markdown for vanity metrics
runs-on: linux
runs-on: linux-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
@ -101,7 +104,7 @@ jobs:
wai-comparative-prose:
name: WAI public text names no comparison
runs-on: linux
runs-on: linux-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
@ -112,7 +115,7 @@ jobs:
wai-public-names:
name: WAI public text names no company or product
runs-on: linux
runs-on: linux-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
@ -159,7 +162,7 @@ jobs:
# pre-existing condition, and so the count can only ratchet down.
orphan-sources:
name: No new orphan source files
runs-on: linux
runs-on: linux-arm64
steps:
- name: Checkout
uses: actions/checkout@v4

View file

@ -25,10 +25,13 @@ on:
branches: [main]
pull_request:
# Runs on `linux-arm64`, not `linux`: these jobs read files and run scripts, so the CPU
# architecture does not matter to them, and the one `linux` (x86_64) runner is the
# fleet's bottleneck, with every Rust workspace's tests queued on it.
jobs:
covered:
name: every test file is run by a job or listed with its reason
runs-on: linux
runs-on: linux-arm64
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

View file

@ -45,10 +45,13 @@ on:
- 'scripts/check-wai-section-refs.py'
- '.github/workflows/wai-section-refs.yml'
# Runs on `linux-arm64`, not `linux`: these jobs read files and run scripts, so the CPU
# architecture does not matter to them, and the one `linux` (x86_64) runner is the
# fleet's bottleneck, with every Rust workspace's tests queued on it.
jobs:
section-refs:
name: cited sections exist
runs-on: linux
runs-on: linux-arm64
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5

View file

@ -40,10 +40,13 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Runs on `linux-arm64`, not `linux`: these jobs read files and run scripts, so the CPU
# architecture does not matter to them, and the one `linux` (x86_64) runner is the
# fleet's bottleneck, with every Rust workspace's tests queued on it.
jobs:
concurrency-groups:
name: every workflow supersedes its own queue
runs-on: linux
runs-on: linux-arm64
steps:
- uses: actions/checkout@v4