Courses / Professional engineering / CI/CD with GitHub Actions

₹69Self-paced

CI/CD with GitHub Actions

Build a GitHub Actions pipeline for your own tested project that runs tests on a matrix, caches dependencies, publishes verified artifacts and gates deployments.

  • Who it's for. Developers who already use Git pull requests and automated tests and want their checks and releases to run automatically.
  • Before you start. Comfortable with Git branches, commits, remotes and pull requests and with writing and running automated tests in a project.
  • 28 to 48 hours of study with practice
  • 8 modules, 49 lessons
  • 4 guided projects and a final project

What you'll learn

  • Write workflow files that start from the right events, narrowed by filters, with a lint check before every push.
  • Make runs reproducible and faster with pinned toolchains, lockfile installs and measured caches.
  • Build once, publish artifacts, verify them by digest and automate tagged releases.
  • Run with least privilege: scoped tokens, safe secrets, injection-free scripts, pinned actions, OIDC design, and a policy for risky triggers and self-hosted runners.
  • Recover from failures, flakiness and budget pressure, and hand over a reviewed runbook.

Skills you'll gain

  • Workflow events
  • Jobs
  • runners
  • Dependencies
  • caching
  • Test reports
  • Artifacts
  • builds
  • Secrets
  • permissions
  • Deployment gates
  • Pipeline recovery

Tools you'll use

  • GitHub Actions
  • YAML workflow files
  • GITHUB_TOKEN
  • OIDC
  • GitHub environments
  • Reusable workflows
  • Git

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 8 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 3 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 3

    Workflows, jobs and caching

    Write workflow files with the right events and filters, compose jobs into a graph with matrices, and make runs reproducible with pinned toolchains and measured caches.

    You build: Guided project: ci-lab: a linted, filtered, readable workflow; ci-lab: a job graph with matrix, caching and measured speed.

  2. 02

    Modules 4 to 6

    Reports, artifacts and permissions

    Report test results through annotations and summaries, build once and verify artifacts, and run with scoped tokens, safe secrets and pinned actions.

    You build: Guided project: ci-lab: reports and a verified package artifact.

  3. 03

    Modules 7 to 8

    Gated deployment and recovery

    Gate deployments with environments and reusable workflows, then recover from failing, flaky and costly pipelines and hand over a runbook.

    You build: Guided project: ci-lab: hardened, gated and recoverable.

Full curriculum

8 modules and 49 lessons, 28 to 48 hours of study

01Workflow events6 lessons, 3 to 4 hours

Lessons

  • Anatomy of a workflow file and linting it before pushing
  • push and pull_request: which commit gets built
  • Branch, tag and path filters
  • workflow_dispatch inputs and manual runs
  • Scheduled workflows with cron
  • Reading a run: the github context and the Actions tab

After this module you can

  • Create .github/workflows/ci.yml with name, on and one job, lint it with actionlint, and push it so a run appears in the Actions tab.
  • Trigger one workflow from push and pull_request and print github.sha for each to show that a pull request run builds the merge commit.
  • Locate a run in the Actions tab, open its log, and use the github context to print event_name, ref, actor and run_number so every run can be traced to its trigger.
02Jobs and runners7 lessons, 3 to 5 hours

Lessons

  • Steps: uses versus run, step ids and shells
  • Choosing a GitHub-hosted runner label
  • needs: building a job graph
  • Step and job outputs with GITHUB_OUTPUT
  • Matrix strategy: include, exclude and fail-fast
  • Conditions and expressions with if and status functions
  • Concurrency groups and timeout-minutes

After this module you can

  • Write a job with one uses step and two run steps, give a step an id, and set a working directory and shell so the same script behaves predictably.
  • Select a runner with runs-on, print the operating system image details in the log, and state what ubuntu-latest mapped to when you ran it.
  • Add a concurrency group that cancels superseded runs on a branch and a timeout-minutes limit that stops a hung step, then provoke each.
03Dependencies and caching6 lessons, 3 to 4 hours

Lessons

  • Why a fresh runner needs checkout and a pinned toolchain
  • Reproducible dependency install from a lockfile
  • actions/cache: key, path and restore-keys
  • hashFiles keys and deliberate invalidation
  • Cache scope, eviction and poisoning risk
  • Measuring whether caching helped

After this module you can

  • Show that a new runner starts without your code, add actions/checkout and a setup step with an explicit tool version, and print the version in the log.
  • Install dependencies using the lockfile-faithful command of your package manager and show a failing run when the lockfile and manifest disagree.
  • Compare step durations with and without a cache across at least three runs and decide with numbers whether to keep the cache.
04Test reports5 lessons, 2 to 3 hours

Lessons

  • Exit codes decide step and job conclusions
  • Annotations with ::error and ::warning
  • Job summaries with GITHUB_STEP_SUMMARY
  • Reporting that survives failure with if: always()
  • Status checks on pull requests

After this module you can

  • Show how a non-zero exit code fails a step, how continue-on-error changes the job result, and how the conclusion appears in the run list.
  • Print workflow commands that create error and warning annotations on a specific file and line and find them on the run summary.
  • Read the checks list on a pull request, map each check name to a job name, and explain how matrix names appear.
05Artifacts and builds6 lessons, 3 to 4 hours

Lessons

  • Packaging a build output once
  • Uploading with actions/upload-artifact
  • download-artifact: build once, test many
  • Verifying artifacts: digests and gh run download
  • Retention, storage quotas and the cost of artifacts
  • Release automation: tags, releases and contents: write

After this module you can

  • Produce a single versioned package file from your sample app in one job, named with the commit SHA, and list its contents in the log.
  • Upload the package as a named artifact with retention-days and if-no-files-found set, and find it in the Artifacts section of the run summary.
  • Run a release job on a version tag that builds the package, gives only that job contents: write, and creates a GitHub release with the package attached.
06Secrets and permissions7 lessons, 3 to 5 hours

Lessons

  • Least privilege for the GITHUB_TOKEN
  • Repository secrets, variables and masking
  • Secrets in logs: structured values and add-mask
  • Script injection from untrusted context values
  • Pinning third-party actions to a full commit SHA
  • OIDC: short-lived cloud credentials without stored secrets
  • Dangerous triggers and self-hosted runner risks

After this module you can

  • Set a read-only workflow permissions block, grant a single extra scope at job level, and show a step denied for lacking a scope.
  • Create a repository variable and a dummy secret, use them through the vars and secrets contexts, and show the secret masked in the log.
  • Classify pull_request, pull_request_target and workflow_run by what secrets and token they get, and write a rule set for self-hosted runners.
07Deployment gates6 lessons, 3 to 4 hours

Lessons

  • Environments: names, URLs and scoped configuration
  • Required reviewers and wait timers
  • Deployment branch and tag rules
  • Reusable workflows with workflow_call
  • Calling reusable workflows: refs, permissions and nesting
  • Serialising deployments and rolling back

After this module you can

  • Create an environment, reference it from a job with a url, and read an environment variable that the job could not see before.
  • Add a required reviewer and a wait timer to an environment and observe a deployment job pausing for approval.
  • Serialise deployments with a concurrency group that does not cancel, and roll back by redeploying a previous run's artifact.
08Pipeline recovery6 lessons, 3 to 4 hours

Lessons

  • Re-running failed jobs and reading run attempts
  • Enabling debug logs and reading a failing step
  • Triage of common failure classes
  • Flaky tests: detecting and containing them
  • Cancellations, queues and the minute budget
  • Pipeline review and runbook

After this module you can

  • Re-run only the failed jobs of a run, read the attempt number and explain what a re-run keeps and what it recomputes.
  • Enable step debug logging for one re-run and use the extra lines to find why a deliberately misconfigured step failed.
  • Review the finished pipeline against a checklist covering triggers, permissions, pins, caches, artifacts, gates and recovery, and publish a one-page runbook.

What you'll build

4 guided projects along the way, then a final project.

  • ci-lab: a linted, filtered, readable workflow

    after module 1
  • ci-lab: a job graph with matrix, caching and measured speed

    after module 3
  • ci-lab: reports and a verified package artifact

    after module 5
  • ci-lab: hardened, gated and recoverable

    after module 8

Final project

CI pipeline that tests builds and packages a sample application. Choose one option: Pipeline for a command-line tool | Pipeline for a small web or API service | Pipeline for a shared library

What you submit

Source: the learner's repository link with the workflow files at the submitted commit.

How it's reviewed

Trainer-reviewed live demonstration: the reviewer changes one input and the learner predicts then shows the result. Marked against the course project review rubric.

Where you'll use it

  • Add a pull request check that runs the test suite on a matrix and reports failures on the right file and line.
  • Gate a deployment behind an environment reviewer and roll back to a stored artifact.

Roles that use these skills

  • DevOps engineer
  • Build and release engineer
  • Software engineer
  • Platform engineer

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

What do I need to take part?

A free GitHub account, a small tested project of your own, a terminal and willingness to read YAML.

Which courses come first?

Git and Software Testing, or equivalent skills: you can push a branch, open a pull request and run your tests from a terminal.

How is CI/CD with GitHub Actions structured, and is it open now?

It has 8 modules and 49 lessons. It is not yet released to learners.

Be first in when CI/CD with GitHub Actions opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
₹69Opens soon
Notify me