Skip to content

Commit

Permalink
stop installing Bundler on GH-Actions manually (#330)
Browse files Browse the repository at this point in the history
setup-ruby does that for us automatically
  • Loading branch information
slonopotamus authored Apr 18, 2020
1 parent 861afde commit 28979d0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
with:
ruby-version: 2.7
- name: Build
run: |
gem install bundler
bundle install --jobs 4 --retry 3
run: bundle install --jobs 4 --retry 3
- name: Lint
run: bundle exec rake lint
test:
Expand All @@ -34,15 +32,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: eregon/use-ruby-action@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Asciidoctor
if: matrix.asciidoctor != ''
run: echo "::set-env name=ASCIIDOCTOR_VERSION::${{ matrix.asciidoctor }}"
- name: Build
run: |
gem install bundler
bundle install --jobs 4 --retry 3
run: bundle install --jobs 4 --retry 3
- name: Test
run: bundle exec rake spec

0 comments on commit 28979d0

Please sign in to comment.