Interview Prep/GitHub Actions/Workflow Anatomy & Execution Model

What does a GitHub-hosted runner give you at the start of a job?

BeginnerConceptWorkflow Anatomy & Execution Model
Answer

A fresh VM (destroyed after the job) with a preinstalled image: common languages, Docker, kubectl, Helm, AWS/Azure/GCP CLIs, gh, jq and more. Standard Linux runners for private repos have 2 vCPU, 7 GB RAM and about 14 GB of free SSD; public repos get 4 vCPU and 16 GB. You get passwordless sudo, outbound internet, and the workspace at $GITHUB_WORKSPACE (/home/runner/work/<repo>/<repo>). Nothing persists between jobs except what you put in cache or artifacts.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflow Anatomy & Execution Model