Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run RuboCop by GitHub Actions #180

Merged
merged 3 commits into from
Nov 10, 2019
Merged

Conversation

yahonda
Copy link
Collaborator

@yahonda yahonda commented Nov 9, 2019

This pull request runs RuboCop using GitHub Actions

To address these errors:

```ruby
$ bundle exec rubocop
Error: The `Style/UnneededPercentQ` cop has been renamed to `Style/RedundantPercentQ`.
(obsolete configuration found in .rubocop.yml, please update it)
The `Layout/FirstParameterIndentation` cop has been renamed to `Layout/IndentFirstArgument`.
(obsolete configuration found in .rubocop.yml, please update it)
obsolete `EnforcedStyle: rails` (for Layout/IndentationConsistency) found in .rubocop.yml
`EnforcedStyle: rails` has been renamed to `EnforcedStyle: indented_internal_methods`
$
```

```
$ bundle exec rubocop
Error: RuboCop found unsupported Ruby version 2.2 in `TargetRubyVersion` parameter (in .rubocop.yml). 2.2-compatible analysis was dropped after version 0.69.
Supported versions: 2.3, 2.4, 2.5, 2.6, 2.7
$
```
@yahonda yahonda changed the title Run Rubocop by GitHub Actions Run RuboCop by GitHub Actions Nov 9, 2019
@yahonda yahonda mentioned this pull request Nov 9, 2019
@yahonda yahonda merged commit 4e9b684 into rsim:master Nov 10, 2019
@yahonda yahonda deleted the rubocop_by_github_actions branch November 10, 2019 11:05
@yahonda yahonda mentioned this pull request Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant