AI Hints
Home›CI/CD with GitHub Actions Tutorial›Fixing Builds and the Test Pyramid
CI/CD with GitHub Actions · Lesson 78 of 138

Quality Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:29:31🎓 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 learned about quality and security. Pause after each question, and answer before I do.

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

Question 1

Which command checks formatting in CI, without changing files? Black dash dash check.

Quick check
Check formatting only?

Question 2

What makes CI failures block merging? Branch protection, with required status checks.

Quick check
Block merging on red?

Question 3

A real cloud key was pushed by accident. What's the first thing to do? Revoke the key.

Quick check
A key leaked. First?

Question 4

Which tool opens pull requests to update dependencies? Dependabot.

Quick check
Automatic update PRs?

Question 5

Which tests should you have the most of? Unit tests, at the bottom of the pyramid.

Quick check
Most tests should be...

Question 6

Where does a Dependabot configuration file live? In dot github slash dependabot dot y m l.

Quick check
Dependabot config lives in...

Summary

Well done. That's the quality section. Next, a new section. Continuous delivery.

Key takeaways
  • Gates
  • Protection
  • Security
Next up: Continuous Delivery — always ready to release