Attempt to fix workflow
This commit is contained in:
parent
abe89ff130
commit
004aeb7ab8
3 changed files with 7 additions and 4 deletions
6
.github/workflows/pronto.yml
vendored
6
.github/workflows/pronto.yml
vendored
|
|
@ -13,8 +13,10 @@ jobs:
|
|||
git fetch --no-tags --prune --depth=150 origin +refs/heads/*:refs/remotes/origin/*
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Setup pronto
|
||||
run: gem install pronto pronto-rubocop pronto-haml pronto-flay
|
||||
- name: Setup bundler # Install only the linters group.
|
||||
run: bundle config --local set without default development test staging production
|
||||
- name: Install pronto
|
||||
run: bundle install
|
||||
- name: Run Pronto
|
||||
run: pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ AllCops:
|
|||
#################### Style ###########################
|
||||
|
||||
Style/CommentAnnotation:
|
||||
keywords:
|
||||
Keywords:
|
||||
- TODO
|
||||
- TODO (snapcon)
|
||||
- OPTIMIZE
|
||||
|
|
|
|||
3
Gemfile
3
Gemfile
|
|
@ -272,7 +272,7 @@ group :test do
|
|||
gem 'pdf-inspector', require: "pdf/inspector"
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
group :development, :test, :linters do
|
||||
# as debugger
|
||||
gem 'byebug'
|
||||
gem 'pry'
|
||||
|
|
@ -281,4 +281,5 @@ group :development, :test do
|
|||
gem 'pronto-haml', require: false
|
||||
gem 'pronto-flay', require: false
|
||||
gem 'pronto-rubocop', require: false
|
||||
gem 'rubocop-rspec', require: false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue