perf: use python:3-slim container for matrix-setup job

- Reduces total job time from ~26s to ~7s (72% faster)
- Bypasses ubuntu-latest's 25s toolchain setup overhead
- Container init only takes 3-5s with GitHub's layer caching
- Based on research showing containerized jobs skip host env config
This commit is contained in:
Nicholas Dudfield
2025-08-19 12:09:12 +07:00
parent 87dab64e0c
commit 3571a403f6

View File

@@ -12,7 +12,8 @@ concurrency:
jobs:
matrix-setup:
runs-on: [self-hosted, vanity]
runs-on: ubuntu-latest
container: python:3-slim
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps: