Skip to content

Commit 5da98d4

Browse files
committed
ci: use repo variables for lint and cache-depends-sources runners
Use `vars.RUNNER_AMD64` and `vars.RUNNER_ARM64` repo variables with GitHub-hosted runner fallback defaults, matching the pattern from the main build pipeline PR. - cache-depends-sources.yml: ${{ vars.RUNNER_ARM64 || 'ubuntu-24.04-arm' }} - lint.yml: ${{ vars.RUNNER_AMD64 || 'ubuntu-24.04' }}
1 parent 11c2565 commit 5da98d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cache-depends-sources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
cache-sources:
1111
name: Cache depends sources
12-
runs-on: ubuntu-24.04-arm
12+
runs-on: ${{ vars.RUNNER_ARM64 || 'ubuntu-24.04-arm' }}
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
lint:
1313
name: Run linters
14-
runs-on: ubuntu-24.04
14+
runs-on: ${{ vars.RUNNER_AMD64 || 'ubuntu-24.04' }}
1515
container:
1616
image: ${{ inputs.container-path }}
1717
options: --user root

0 commit comments

Comments
 (0)