Preparing Github Actions
This is Kaseya's Ruby library manager. The deploy-ruby.yml runs Rubocop against the Ruby codebase and outputs the results in the Actions log.
Deploy Ruby Codestyles
- Install the
kaseya_ruby_codestylesgem to get local access to all our public codestyles and files. Look to https://rubygems.org/gems/Kaseya_Ruby_Codestyles for information about dependencies and commands to install.
gem 'Kaseya_Ruby_Codestyles', '~> 1.1'
gem install kaseya_ruby_codestyles
Contributions
Ruby files added should go in the
ruby/ci/kaseya_ruby_codestylesdirectory to best be tracked and checked by existed workflowsPreparing your own github action to push within deploy-ruby.yml can be done 1 of 2 ways:
- Contribute towards the Rakefile that will run under the
Run Testsstep of deploy-ruby.yml. - Name a unique step, make sure to specify the working directory as
${{ github.workspace }}/rubyas is defined for the other steps and contribute the terminal commands to be run from there. - Add comments where necessary to ensure the purpose and goal of the actions are clear.
- Contribute towards the Rakefile that will run under the