Building GitHub Actions in Rust via cargo-generate is something I considered for a compute-heavy CI step where the TypeScript runtime overhead was measurable. The multi-stage Docker approach you showed keeps the final image lean, which matters when Actions pull the container on every run. The testing strategy for branches and PRs is a detail most action authors skip.