mitre / inspec_tools

A command-line and ruby API of utilities, converters and tools for creating, converting and processing security baseline formats, results and data
https://inspec-tools.mitre.org/
Other
91 stars 30 forks source link

Build gem once and only install it on other GH Actions stages #177

Closed rbclark closed 3 years ago

rbclark commented 4 years ago

Currently we build our gem on every environment which means all of our development dependencies are present. This has the potential to cause problems, for example we did not realize that our gem was only working on Windows due to the fact that it was built in development mode. We should build the gem in one stage and then pass it to the others for install since that is more realistic: https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts