Skip to content

Commit eae0293

Browse files
committed
squash: install latest bundler
1 parent dd9b1a4 commit eae0293

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/actions/test_gem/action.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,12 @@ runs:
8080
shell: bash
8181
run: sudo apt update && sudo apt install -y imagemagick
8282

83-
# Install ruby and bundle dependencies and cache!
84-
# ...but not for appraisals, sadly.
85-
- name: Install Ruby ${{ inputs.ruby }} with dependencies
86-
if: "${{ steps.setup.outputs.appraisals == 'false' }}"
87-
uses: ruby/[email protected]
88-
with:
89-
ruby-version: "${{ inputs.ruby }}"
90-
working-directory: "${{ steps.setup.outputs.gem_dir }}"
91-
9283
# If we're using appraisals, do it all manually.
9384
- name: Install Ruby ${{ inputs.ruby }} without dependencies
94-
if: "${{ steps.setup.outputs.appraisals == 'true' }}"
9585
uses: ruby/[email protected]
9686
with:
9787
ruby-version: "${{ inputs.ruby }}"
88+
bundler: "latest"
9889
working-directory: "${{ steps.setup.outputs.gem_dir }}"
9990

10091
- name: Install dependencies and generate appraisals
@@ -124,7 +115,7 @@ runs:
124115
done
125116
else
126117
echo "::group::🔎 Running Tests Standalone"
127-
bundle install
118+
bundle install --quiet --jobs=3 --retry=4 && \
128119
bundle exec rake test
129120
echo "::endgroup::"
130121
fi

0 commit comments

Comments
 (0)