Continuous Integration
Run the build and tests automatically on every change with a hosted CI system, gate merges on the results, and keep the pipeline fast and safe.
3 objectives 6 steps about 120 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Write a CI workflow (GitHub Actions or GitLab CI) that runs on pull requests and on main, with dependent jobs, dependency caching and a test matrix.
- Gate merges with required status checks and branch protection, and trace a failing run from its logs to the root cause.
- Harden a pipeline with least-privilege job tokens, third-party actions pinned to commit SHAs, and secrets kept away from untrusted pull requests.
Lesson plan
6 steps, about 120 min · 5 of 5 lessons available so far
- Integrating continuously: small batches and a green main Concept · 15 min
- Anatomy of a pipeline: triggers, jobs, runners, steps and reuse Concept · 20 min
- Lab: a pull-request pipeline with caching and a test matrix Lab · 30 min
- Merge gates and reading a failing run Worked example · 20 min
- Securing the pipeline itself: lessons from compromised actions Worked example · 20 min
- Check: fix and harden a broken workflow Knowledge check · 6 questions
Practise it
Add a CI workflow to your service repository that runs the build-and-test entry point on every pull request across two runtime versions, caches dependencies, uploads test reports, is a required check on a protected main branch, defaults to read-only token permissions and pins every third-party action to a commit SHA.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own CI SystemIntermediate · 8–16 h
References
Hard prerequisites
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.