Skip to content

Drop Ruby < 2.7; Add RuboCop #21

Drop Ruby < 2.7; Add RuboCop

Drop Ruby < 2.7; Add RuboCop #21

Triggered via pull request April 21, 2023 11:21
Status Failure
Total duration 31s
Artifacts

test.yml

on: pull_request
Matrix: test
Test suite
0s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Ruby 2.7
Process completed with exit code 1.
Ruby 3.0
Process completed with exit code 1.
Ruby 3.2
Process completed with exit code 1.
rubocop: Gemfile#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: Rakefile#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: lib/puppet-lint/plugins/topscope_variable.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: lib/puppet-lint/plugins/topscope_variable.rb#L8
Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
rubocop: lib/puppet-lint/plugins/topscope_variable.rb#L8
Performance/RegexpMatch: Use `match?` instead of `!~` when `MatchData` is not used. (https://github.com/JuanitoFatas/fast-ruby#regexp-vs-stringmatch-vs-string-vs-stringmatch-code-)
rubocop: lib/puppet-lint/plugins/topscope_variable.rb#L15
Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call. (https://rubystyle.guide#no-trailing-params-comma)
rubocop: puppet-lint-topscope-variable-check.gemspec#L1
Gemspec/RequiredRubyVersion: `required_ruby_version` should be specified.
rubocop: puppet-lint-topscope-variable-check.gemspec#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: puppet-lint-topscope-variable-check.gemspec#L14
Gemspec/DeprecatedAttributeAssignment: Do not set `test_files` in gemspec.
rubocop: spec/puppet-lint/plugins/topscope_variable_spec.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
Ruby 3.1
Process completed with exit code 1.