Class: Hoboken::AddOns::GithubAction

Inherits:
Group
  • Object
show all
Defined in:
lib/hoboken/add_ons/github_action.rb

Overview

Github action that runs CI task.

Instance Method Summary collapse

Methods inherited from Group

#classic?, #modular?, #rspec?, #rubocop?, #sequel?, source_root

Methods included from Hoboken::Actions

#gem, #indent

Instance Method Details

#add_action_yml_fileObject



8
9
10
11
# File 'lib/hoboken/add_ons/github_action.rb', line 8

def add_action_yml_file
  empty_directory('.github/workflows')
  template('hoboken/templates/github_action.tt', '.github/workflows/ruby.yml')
end