wasmerio / wasmer-pack

MIT License
49 stars 5 forks source link

Moved time reporting to its own job #110

Closed Michael-F-Bryan closed 1 year ago

Michael-F-Bryan commented 1 year ago

Description

I've reworked how the Michael-F-Bryan/workflow-timer action works and the comments it generates to be a bit more useful.

I've also pulled the action out into its own job so it is measuring the full time for each job in the current workflow run. Before it counting the "current run time" as the time between the check run starting and when the action was triggered, and the "master run time" was the time between the check run starting and the end of the check run (i.e. after the action had been triggered and finished).

Context

As part of the Fast Compile Times goal, we use the Michael-F-Bryan/workflow-timer action to make sure PR authors are aware of how long each CI run takes compared to the master branch.

github-actions[bot] commented 1 year ago

⏱ Workflow Timer ⏱

Make sure you keep an eye on build times!

One of this project's goals is to keep CI runs under 5 minutes so developers can maintain fast edit-compile-test cycles.

Run Compile and Test
master 2mins 59s
9058efd 3mins 4s

🤖 Beep. Boop. I'm a bot. If you find any issues, please report them to https://github.com/Michael-F-Bryan/workflow-timer.