Skip to content

Commit

Permalink
fix(rubocop): make version compatible with ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
laugmanuel committed Jan 30, 2024
1 parent f564a9e commit 29ad507
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Setup
run: |
gem install bundler
echo "gem 'rdoc', '< 6.4'" >> Gemfile
bundle install --jobs=3 --retry=3
bundler-cache: true
working-directory: .
- name: Run rubocop
run: bundle exec rubocop
run: bundle exec rubocop --parallel
test:
runs-on: ubuntu-latest
needs: rubocop
Expand Down
5 changes: 4 additions & 1 deletion foreman_vault.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ Gem::Specification.new do |s|
s.add_dependency 'vault', '~> 0.1'

s.add_development_dependency 'rdoc'
s.add_development_dependency 'rubocop', '0.54.0'
s.add_development_dependency 'rubocop', '~> 0.93.0'
s.add_development_dependency 'rubocop-minitest', '~> 0.27.0'
s.add_development_dependency 'rubocop-performance', '~> 1.10.0'
s.add_development_dependency 'rubocop-rails', '~> 2.9.0'
end

0 comments on commit 29ad507

Please sign in to comment.