From 2beea79b84b5711d7b8deaa20261f3a07f4b0f4b Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 30 Jan 2020 18:30:11 -0700 Subject: Use separate step for Bundler config in GitHub Action (PR #1532) --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5793243..0c02153a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,15 @@ jobs: uses: eregon/use-ruby-action@v1 with: ruby-version: ${{ matrix.ruby }} + - name: Configure Bundler + run: | + bundle config --local path .bundle/gems + bundle config --local without docs lint coverage - name: Install dependencies run: | - # Fix for PowerShell issue, non default value (stop) used by Actions + # Prevent use of non-default value (Stop) by GitHub Actions, which can terminate step # see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-7#erroractionpreference $ErrorActionPreference = 'Continue' - bundle config --local path .bundle/gems - bundle config --local without docs lint coverage bundle --jobs 3 --retry 3 - name: Test run: bundle exec ruby -w $(bundle exec ruby -e 'print File.join Gem.bindir, %q(rake)') spec -- cgit v1.2.3