Recall & Review
beginner
What is GitHub Actions used for in CI/CD?
GitHub Actions automates tasks like building, testing, and deploying code whenever you push changes to your repository.
Click to reveal answer
beginner
What file defines a GitHub Actions workflow?
A workflow is defined in a YAML file located in the
.github/workflows/ folder of your repository.Click to reveal answer
intermediate
What triggers can start a GitHub Actions workflow?
Workflows can start on events like
push, pull_request, or on a schedule using cron.Click to reveal answer
intermediate
How do you specify the environment for running jobs in GitHub Actions?
You specify the environment using the
runs-on key, for example runs-on: ubuntu-latest to use a Linux machine.Click to reveal answer
beginner
What is a 'job' in GitHub Actions?
A job is a set of steps that run on the same runner. Jobs can run sequentially or in parallel.
Click to reveal answer
Where do you place the workflow YAML files in a GitHub repository?
✗ Incorrect
Workflow files must be inside the .github/workflows/ folder to be recognized by GitHub Actions.
Which event can trigger a GitHub Actions workflow?
✗ Incorrect
The 'push' event triggers workflows when code is pushed to the repository.
What does the 'runs-on' key specify in a GitHub Actions job?
✗ Incorrect
'runs-on' tells GitHub Actions which OS environment to use for the job.
How can you run multiple jobs at the same time in GitHub Actions?
✗ Incorrect
Jobs without dependencies run in parallel automatically.
Which file format is used to write GitHub Actions workflows?
✗ Incorrect
GitHub Actions workflows are written in YAML format.
Explain how a simple CI workflow for an Android Kotlin app can be set up using GitHub Actions.
Think about the sequence from code push to build and test.
You got /5 concepts.
Describe the benefits of using GitHub Actions for CI/CD in your projects.
Focus on how it saves time and reduces manual work.
You got /5 concepts.