Add shared GitHub Actions workflow for ruby #2
Annotations
10 errors
Rubocop:
app/models/concerns/foreman_templates/template_extensions.rb#L8
Style/StringConcatenation: Prefer string interpolation to string concatenation.
|
Rubocop:
app/services/foreman_templates/export_result.rb#L5
Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use `exported: true` instead of `exported = true`.
|
Rubocop:
app/services/foreman_templates/parse_result.rb#L10
Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use `verbose: false` instead of `verbose = false`.
|
Rubocop:
app/services/foreman_templates/template_exporter.rb#L172
Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
|
Rubocop:
app/services/foreman_templates/template_importer.rb#L50
Style/StringConcatenation: Prefer string interpolation to string concatenation.
|
Rubocop:
app/services/foreman_templates/template_importer.rb#L50
Style/RedundantRegexpEscape: Redundant escape inside regexp literal
|
Rubocop:
foreman_templates.gemspec#L19
Layout/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.
|
Rubocop:
test/functional/api/v2/template_controller_test.rb#L29
Minitest/RefuteIncludes: Prefer using `refute_includes(Dir.entries("#{tmpdir}/provisioning_templates/provision"), 'export_test_template.erb')` over `refute(Dir.entries("#{tmpdir}/provisioning_templates/provision").include?('export_test_template.erb'))`.
|
Rubocop:
test/functional/api/v2/template_controller_test.rb#L154
Minitest/AssertIncludes: Prefer using `assert_includes(Dir.entries("#{tmpdir}/provisioning_templates/provision"), 'exporting_template.erb')` over `assert(Dir.entries("#{tmpdir}/provisioning_templates/provision").include?('exporting_template.erb'))`.
|
|
The logs for this run have expired and are no longer available.
Loading