From 28979d05a182258d879ec2db7c8fcdd5404402df Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Sat, 18 Apr 2020 16:27:21 +0300 Subject: [PATCH] stop installing Bundler on GH-Actions manually (#330) setup-ruby does that for us automatically --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10d60516..43be7638 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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