Skip to content

Drop support for Puppet 4,5 & 6, CentOS 5, 6 & 7, Ubuntu 10.04 #3

Drop support for Puppet 4,5 & 6, CentOS 5, 6 & 7, Ubuntu 10.04

Drop support for Puppet 4,5 & 6, CentOS 5, 6 & 7, Ubuntu 10.04 #3

Triggered via pull request January 18, 2024 12:18
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
21s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L1
Lint/DeprecatedClassMethods: `File.exists?` is deprecated in favor of `File.exist?`.
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L11
Layout/IndentationConsistency: Inconsistent indentation detected. (https://rubystyle.guide#spaces-indentation, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L14
Layout/IndentationConsistency: Inconsistent indentation detected. (https://rubystyle.guide#spaces-indentation, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L16
Layout/IndentationConsistency: Inconsistent indentation detected. (https://rubystyle.guide#spaces-indentation, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L17
Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning. (https://rubystyle.guide#empty-lines-around-bodies)
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L18
Style/RegexpLiteral: Use `%r` around regular expression. (https://rubystyle.guide#percent-r)
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L18
Style/RedundantArgument: Argument " " is redundant because it is implied by default.
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L18
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
Puppet / Static validations: lib/facter/swapfile_sizes.rb#L21
Style/IfUnlessModifier: Favor modifier `if` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)