0
0
Android Kotlinmobile~5 mins

CI/CD with GitHub Actions in Android Kotlin - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
Aroot directory
Bsrc/main/
C.github/workflows/
Dconfig/actions/
Which event can trigger a GitHub Actions workflow?
Acompile
Bpush
Crun
Dinstall
What does the 'runs-on' key specify in a GitHub Actions job?
AThe workflow name
BThe programming language version
CThe repository branch
DThe operating system of the runner
How can you run multiple jobs at the same time in GitHub Actions?
ABy defining multiple jobs without dependencies
BBy using a single job with many steps
CBy running workflows sequentially
DBy using cron schedules
Which file format is used to write GitHub Actions workflows?
AYAML
BJSON
CXML
DTXT
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.