← Back to context

Comment by never_inline

10 hours ago

Build a CLI in python or whatever which does the same thing as CI, every CI stage should just call its subcommands.

Just use a task runner(Make, Just, Taskfile) this is what they were designed for.

  • I typically use make for this and feel like I’m constantly clawing back scripts written in workflows that are hard to debug if they’re even runnable locally.

    This isn’t only a problem with GitHub Actions though. I’ve run into it with every CI runner I’ve come across.