1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

4 commits

Author SHA1 Message Date
yuuji.yaginuma
b120110a52 Update packages before install
Without it, it seems to be an error trying to install an older version.
Ref: ea303d012e/checks (step):4:29
2019-11-21 09:01:29 +09:00
Yasuo Honda
c3b300611f Bump GitHub Action cache version from preview to v1
Refer https://github.com/actions/cache/pull/51/
2019-11-16 10:52:59 +09:00
Yasuo Honda
55f9c8a147 Cache gems for GitHub Actions
Follows up #37582

GitHub Actions cache requires `path:` parameter to configure
which directory to be cached. It looks there is no easy way to retrieve path information
using bundler command then workaround implemented to use `vendor/bundle`.

Thanks to https://github.com/actions/cache/pull/4
2019-10-31 23:43:17 +00:00
Yasuo Honda
ce9a220fdc Enabled GitHub Actions to run the latest RuboCop 0.76.0
Updated the default Ruby workflow:

* Trigger this action for pull request and push
* Install requried OS packages for Active Record connection adapters
* Removing `gem install bundler` because Ruby 2.6 already installs it
* Run RuboCop in parallel by `bundle exec rubocop --parallel`
* Rename `ruby.yml` to `rubocop.yml` to represent the workflow

Bump RuboCop to 0.76.0 and rename `Style/UnneededPercentQ` to `Style/RedundantPercentQ`

```ruby
$ bundle exec rubocop
Error: The `Style/UnneededPercentQ` cop has been renamed to `Style/RedundantPercentQ`.
(obsolete configuration found in .rubocop.yml
```

Removed `.codeclimate.yml`
2019-10-30 23:21:09 +00:00