ci: 💚 hopefully fix rubocop build
All checks were successful
RuboCop / build (push) Successful in 17s
All checks were successful
RuboCop / build (push) Successful in 17s
This commit is contained in:
parent
4e200f919a
commit
d9ee75225f
1 changed files with 3 additions and 17 deletions
|
@ -8,21 +8,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Ruby 2.7
|
|
||||||
uses: https://github.com/ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: 2.7
|
|
||||||
- name: Cache gems
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: vendor/bundle
|
|
||||||
key: ${{ runner.os }}-rubocop-${{ hashFiles('**/Gemfile.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-rubocop-
|
|
||||||
- name: Install gems
|
|
||||||
run: |
|
|
||||||
bundle config path vendor/bundle
|
|
||||||
bundle config set without 'default doc job cable storage ujs test db'
|
|
||||||
bundle install --jobs 4 --retry 3
|
|
||||||
- name: Run RuboCop
|
- name: Run RuboCop
|
||||||
run: bundle exec rubocop --parallel
|
uses: docker://pipelinecomponents/rubocop:latest
|
||||||
|
with:
|
||||||
|
cmd: rubocop -P -E .
|
Loading…
Add table
Add a link
Reference in a new issue