Interview Prep/CI/CD/GitHub Actions Failures

Step `uses: ./.github/actions/setup` fails with `Can't find 'action.yml', 'action.yaml' or 'Dockerfile'`.

BeginnerTroubleshootingGitHub Actions Failures
Answer

Likely causes → Local actions need the repo checked out first.

Diagnose → Check step order.

Fix → Add actions/checkout before the local action step.

Prevent → Put checkout first in every job.

All CI/CD questions

More on GitHub Actions Failures