From 004aeb7ab8453b379d9cffc64e3a05877d0685c0 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 24 Feb 2021 03:19:54 -0800 Subject: [PATCH] Attempt to fix workflow --- .github/workflows/pronto.yml | 6 ++++-- .rubocop.yml | 2 +- Gemfile | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pronto.yml b/.github/workflows/pronto.yml index c835da94..509dd017 100644 --- a/.github/workflows/pronto.yml +++ b/.github/workflows/pronto.yml @@ -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: diff --git a/.rubocop.yml b/.rubocop.yml index 552f3f78..0c3179a5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -16,7 +16,7 @@ AllCops: #################### Style ########################### Style/CommentAnnotation: - keywords: + Keywords: - TODO - TODO (snapcon) - OPTIMIZE diff --git a/Gemfile b/Gemfile index c6da1286..fbb19a05 100644 --- a/Gemfile +++ b/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