Skip to content

Commit

Permalink
Fix CI linting (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Jul 31, 2021
1 parent ed7d402 commit ddbde92
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:

- name: Rubocop
run: |
gem install rubocop rubocop-packaging rubocop-performance --no-document
rubocop --format progress
gem install bundler
bundle config set without 'development test'
bundle config set with 'lint'
bundle install
bundle exec rubocop --format progress
- name: Yard-Junk
run: |
Expand Down
29 changes: 17 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,30 @@

source 'https://rubygems.org'

gem 'brotli', '>= 0.1.8', platforms: :mri
gem 'hashie', '>= 1.2'
gem 'json', '< 3'
gem 'multi_xml', '>= 0.5.3'
gem 'rack', '< 2'
gem 'rack-cache', '>= 1.1', '< 1.3'
gem 'rake', '>= 12.3.3'
gem 'rash_alt', '>= 0.4.3'
gem 'safe_yaml'
gem 'simple_oauth', '>= 0.1', '< 0.3'
group :development do
gem 'brotli', '>= 0.1.8', platforms: :mri
gem 'hashie', '>= 1.2'
gem 'json', '< 3'
gem 'multi_xml', '>= 0.5.3'
gem 'rack', '< 2'
gem 'rack-cache', '>= 1.1', '< 1.3'
gem 'rake', '>= 12.3.3'
gem 'rash_alt', '>= 0.4.3'
gem 'safe_yaml'
gem 'simple_oauth', '>= 0.1', '< 0.3'
end

group :test do
gem 'addressable', '< 2.4'
gem 'rspec', '>= 3'
gem 'simplecov', '~> 0.12.0'
gem 'webmock', '~> 2.3'
end

group :lint do
gem 'rubocop', '~> 1.12.0'
gem 'rubocop-packaging', '~> 0.4'
gem 'rubocop-performance', '~> 1.5.2'
gem 'simplecov', '~> 0.12.0'
gem 'webmock', '~> 2.3'
end

gemspec

0 comments on commit ddbde92

Please sign in to comment.