Iterating on a workflow

So when I develop a workflow, I make edits inside .github/workflows/ and check them in. This has problems because:

  1. (changes in my) Actions take a long time to process… lots of waiting and lost momentum
  2. Pollute git’s history with my development iterations

So how do I avoid these issues?

You could try act to test the workflow locally. I haven’t tried it personally, but it was mentioned on the Github blog a while ago:

As for the history I usually just keep workflows on a dev branch that I don’t mind rebasing and force-pushing, so I can clean up the history before merging. Unfortunately that doesn’t really work for workflows that need to be on the default branch.

Would appear to emulate ubuntu-latest I need to have an 18GB docker installed.

Pretty soul destroying if you don’t like bloat.