Add code-scanning-rubocop to Gemfile
This commit is contained in:
parent
664cb4d690
commit
2b26a3aa0e
3 changed files with 8 additions and 5 deletions
6
.github/workflows/rubocop.yml
vendored
6
.github/workflows/rubocop.yml
vendored
|
@ -32,12 +32,8 @@ jobs:
|
|||
with:
|
||||
ruby-version: 2.7
|
||||
|
||||
# This step is not necessary if you add the gem to your Gemfile
|
||||
- name: Install Code Scanning integration
|
||||
run: bundle add code-scanning-rubocop --skip-install
|
||||
|
||||
- name: Install dependencies
|
||||
run: bundle install
|
||||
run: bundle install --with=ci
|
||||
|
||||
- name: Rubocop run
|
||||
run: |
|
||||
|
|
4
Gemfile
4
Gemfile
|
@ -3,3 +3,7 @@
|
|||
source 'http://rubygems.org'
|
||||
|
||||
gemspec
|
||||
|
||||
group :ci do
|
||||
gem 'code-scanning-rubocop'
|
||||
end
|
||||
|
|
|
@ -8,6 +8,8 @@ GEM
|
|||
remote: http://rubygems.org/
|
||||
specs:
|
||||
ast (2.4.2)
|
||||
code-scanning-rubocop (0.6.1)
|
||||
rubocop (~> 1.0)
|
||||
colorize (0.8.1)
|
||||
parallel (1.22.1)
|
||||
parser (3.1.2.0)
|
||||
|
@ -36,6 +38,7 @@ PLATFORMS
|
|||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
code-scanning-rubocop
|
||||
format-staged!
|
||||
rake (~> 13.0)
|
||||
rubocop (~> 1.29)
|
||||
|
|
Loading…
Add table
Reference in a new issue