- Workflows: Define the automated processes and are triggered by events (e.g., push, pull request).
- Jobs: A workflow is made up of one or more jobs, which are units of work executed on a runner.
- Steps: Each job contains steps that run commands in a sequence.
- Actions: Reusable commands or tasks that can be executed within steps.
Let’s start by setting up a simple workflow that runs tests every time code is pushed to the repository.