GitHub Actions
Quick checks in GitHub UI
- Open a PR -> Checks tab -> inspect failed job.
- Read failing step logs first, not the full workflow.
- Re-run only failed jobs when possible.
Common workflow skeleton
Fast triage checklist
- Fails on
checkout/setup-*: action version or runner issue. - Fails on dependency install: lock/dependency drift.
- Fails on tests/build only in CI: env mismatch (Python version, OS, missing env var).
- Flaky test: rerun once, then isolate and fix root cause.
Safe defaults
- Pin language versions (
python-version,node-version). - Keep actions major pinned (
@v4,@v5). - Prefer explicit build command over implicit behavior.
Add manual trigger
Useful to test a workflow change without opening a PR.