ci: 💚 hopefully fix rubocop build
All checks were successful
RuboCop / build (push) Successful in 17s

This commit is contained in:
David Bailey 2023-11-22 16:19:00 +01:00
parent 4e200f919a
commit d9ee75225f

View file

@ -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 .