AI Hints
Home›CI/CD with GitHub Actions Tutorial›Building Blocks Practice
CI/CD with GitHub Actions · Lesson 60 of 138

Building Blocks Quiz

Test yourself.

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

Let's review the building blocks. Pause after each question, and answer before I do.

Building Blocks Quiz
From the video: Building Blocks Quiz
  • Building blocks quiz
  • Pause and think
  • Then check

Question 1

How do you make one job wait for another? With the needs key.

Quick check
Wait for another job?

Question 2

Where do you store a password for a workflow? In encrypted secrets, read with secrets dot name.

Quick check
A password goes in...

Question 3

Python versions three point eleven and three point twelve, on two systems. How many matrix jobs? The answer is four.

Quick check
2 versions × 2 systems?

Question 4

Which condition runs a step only when an earlier step failed? The answer is if failure.

Quick check
Run only after a failure?

Question 5

How do you pass files from one job to another? With artifacts. Upload in one job, and download in the other.

Quick check
Files between jobs?

Summary

Great work. Next, a new section. Quality gates, starting with linting.

Key takeaways
  • needs
  • secrets
  • artifacts
Next up: Linting — style checks in CI