AI Hints
Home›CI/CD with GitHub Actions Tutorial›First Workflows Practice
CI/CD with GitHub Actions · Lesson 36 of 138

First Workflows Quiz

Test yourself.

⏱ 2 min read▶ Video at 40:29🎓 Free
Watch this lesson in the CI/CD with GitHub Actions courseWatch on YouTube ↗Full CI/CD with GitHub Actions course

Let's check what you've learned about writing workflows. Pause after each question, and answer before I do.

First Workflows Quiz
From the video: First Workflows Quiz
  • Workflows quiz
  • Pause and think
  • Then check

Question 1

Where must workflow files live? The answer is the dot github slash workflows folder.

Quick check
Workflows live in...

Question 2

Why do almost all workflows start with actions checkout? Because the runner starts empty, without your code.

Quick check
Why checkout first?

Question 3

Which event adds a Run workflow button? The answer is workflow dispatch.

Quick check
A manual Run button?

Question 4

Which tool checks workflow files for mistakes on your machine? The answer is actionlint.

Quick check
Check workflow files?

Question 6

Which trigger adds a run workflow button on GitHub? Workflow dispatch.

Quick check
A manual run button?

Summary

Well done. Next, a new section. The building blocks of bigger pipelines, starting with environment variables.

Key takeaways
  • .github/workflows
  • checkout first
  • actionlint
Next up: Environment Variables — settings for steps