Add GitHub actions for running specs #5
reviewdog.yml
on: pull_request
runner / bundle-audit
15s
runner / brakeman
23s
runner / reek
14s
runner / rubocop
16s
runner / sorbet
22s
Annotations
5 errors and 1 warning
runner / reek:
app/models/user.rb#L5
[reek] reported by reviewdog 🐶
FeatureEnvy: User#foo refers to 'bar' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v6.3.0/docs/Feature-Envy.md]
Raw Output:
app/models/user.rb:5: FeatureEnvy: User#foo refers to 'bar' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v6.3.0/docs/Feature-Envy.md]
|
runner / reek
Process completed with exit code 1.
|
runner / rubocop
Process completed with exit code 1.
|
runner / sorbet:
app/models/user.rb#L5
[rdjson] reported by reviewdog 🐶
Method `fizz` does not exist on `User`
5 | fizz.map { |bar| bar.baz + bar.bizz }
^^^^
Did you mean `find`? Use `-a` to autocorrect
app/models/user.rb:5: Replace with `find`
5 | fizz.map { |bar| bar.baz + bar.bizz }
^^^^
sorbet/rbi/gems/[email protected]:30656: Defined here
30656 | def find(*_arg0, **_arg1, &_arg2); end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Raw Output:
message:"Method `fizz` does not exist on `User`\n 5 | fizz.map { |bar| bar.baz + bar.bizz }\n ^^^^\n Did you mean `find`? Use `-a` to autocorrect\n app/models/user.rb:5: Replace with `find`\n 5 | fizz.map { |bar| bar.baz + bar.bizz }\n ^^^^\n sorbet/rbi/gems/[email protected]:30656: Defined here\n 30656 | def find(*_arg0, **_arg1, &_arg2); end\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" location:{path:"app/models/user.rb" range:{start:{line:5}}} severity:ERROR source:{name:"sorbet" url:"https://github.com/sorbet/sorbet"} code:{value:"7003" url:"https://srb.help/7003"}
|
runner / sorbet
Process completed with exit code 1.
|
runner / rubocop:
app/models/user.rb#L1
[rubocop] reported by reviewdog 🐶
Missing frozen string literal comment.
Raw Output:
app/models/user.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal comment.
|