neon-bindings / neon

Rust bindings for writing safe and fast native Node.js modules.
https://www.neon-bindings.com/
Apache License 2.0
8k stars 283 forks source link

Speed-Up CI #922

Closed kjvalencik closed 2 years ago

kjvalencik commented 2 years ago

This makes a few changes to our CI process to make it run faster.

Try changing the labels on the PR to test it out!

Note: Matrix includes do not include arrays for a 2nd pass of expansion; instead they become literal arrays. As a workaround, I included a JavaScript snippet in the setup step that performs a manual expansion of the matrix.

kjvalencik commented 2 years ago

@dherman You can write a custom action and include it with your project, giving a path for the action. The action can then invoke other actions. AFAIK, this is the only way to share a snippet which I would consider too complicated for the amount of duplication here.

If these eventually get much more complicated, we could consider that.