Attempt to fix workflow

This commit is contained in:
Michael Ball 2021-02-24 03:19:54 -08:00
parent abe89ff130
commit 004aeb7ab8
3 changed files with 7 additions and 4 deletions

View file

@ -13,8 +13,10 @@ jobs:
git fetch --no-tags --prune --depth=150 origin +refs/heads/*:refs/remotes/origin/* git fetch --no-tags --prune --depth=150 origin +refs/heads/*:refs/remotes/origin/*
- name: Setup Ruby - name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
- name: Setup pronto - name: Setup bundler # Install only the linters group.
run: gem install pronto pronto-rubocop pronto-haml pronto-flay run: bundle config --local set without default development test staging production
- name: Install pronto
run: bundle install
- name: Run Pronto - name: Run Pronto
run: pronto run -f github_status github_pr -c origin/${{ github.base_ref }} run: pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
env: env:

View file

@ -16,7 +16,7 @@ AllCops:
#################### Style ########################### #################### Style ###########################
Style/CommentAnnotation: Style/CommentAnnotation:
keywords: Keywords:
- TODO - TODO
- TODO (snapcon) - TODO (snapcon)
- OPTIMIZE - OPTIMIZE

View file

@ -272,7 +272,7 @@ group :test do
gem 'pdf-inspector', require: "pdf/inspector" gem 'pdf-inspector', require: "pdf/inspector"
end end
group :development, :test do group :development, :test, :linters do
# as debugger # as debugger
gem 'byebug' gem 'byebug'
gem 'pry' gem 'pry'
@ -281,4 +281,5 @@ group :development, :test do
gem 'pronto-haml', require: false gem 'pronto-haml', require: false
gem 'pronto-flay', require: false gem 'pronto-flay', require: false
gem 'pronto-rubocop', require: false gem 'pronto-rubocop', require: false
gem 'rubocop-rspec', require: false
end end