Skip to content

Fix rubocop CI taking forever #14

Fix rubocop CI taking forever

Fix rubocop CI taking forever #14

Triggered via pull request June 19, 2024 03:48
@phrdangphrdang
synchronize #24
rubocop
Status Failure
Total duration 24m 31s
Artifacts

linters.yml

on: pull_request
runner / pylint
10s
runner / pylint
runner / black
14s
runner / black
runner / markdownlint
19s
runner / markdownlint
runner / rubocop
24m 23s
runner / rubocop
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
runner / rubocop
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
runner / rubocop
Process completed with exit code 1.
runner / rubocop: spec/accessibility_spec.rb#L4
[rubocop] reported by reviewdog 🐶 Beware of using `before :all` as it may cause state to leak between tests. If you are using `rspec-rails`, and `use_transactional_fixtures` is enabled, then records created in `before :all` are not automatically rolled back. Raw Output: spec/accessibility_spec.rb:4:3: C: RSpec/BeforeAfterAll: Beware of using `before :all` as it may cause state to leak between tests. If you are using `rspec-rails`, and `use_transactional_fixtures` is enabled, then records created in `before :all` are not automatically rolled back.
runner / rubocop: spec/accessibility_spec.rb#L12
[rubocop] reported by reviewdog 🐶 Avoid instance variables - use let, a method call, or a local variable (if possible). Raw Output: spec/accessibility_spec.rb:12:7: C: RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
runner / rubocop: spec/accessibility_spec.rb#L18
[rubocop] reported by reviewdog 🐶 Avoid instance variables - use let, a method call, or a local variable (if possible). Raw Output: spec/accessibility_spec.rb:18:5: C: RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L1
[rubocop] reported by reviewdog 🐶 Missing frozen string literal comment. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal comment.
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L13
[rubocop] reported by reviewdog 🐶 Prefer single-quoted strings when you don't need string interpolation or special symbols. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:13:11: C: Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L18
[rubocop] reported by reviewdog 🐶 Use `&&` instead of `and`. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:18:10: C: Style/AndOr: Use `&&` instead of `and`.
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L25
[rubocop] reported by reviewdog 🐶 Use 2 (not 0) spaces for indentation. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:25:1: C: Layout/IndentationWidth: Use 2 (not 0) spaces for indentation.
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L27
[rubocop] reported by reviewdog 🐶 Use 2 (not 0) spaces for indentation. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:27:1: C: Layout/IndentationWidth: Use 2 (not 0) spaces for indentation.
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L27
[rubocop] reported by reviewdog 🐶 Prefer single-quoted strings when you don't need string interpolation or special symbols. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:27:5: C: Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
runner / rubocop: vendor/bundle/ruby/3.3.0/bin/racc#L28
[rubocop] reported by reviewdog 🐶 Prefer single-quoted strings when you don't need string interpolation or special symbols. Raw Output: vendor/bundle/ruby/3.3.0/bin/racc:28:19: C: Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.