diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index aeae0283..8be58ad5 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -22,6 +22,9 @@ jobs: fail-fast: false matrix: ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "head"] + include: + - ruby: "2.7" + bundler: "2.4.22" env: DEBUG: "true" steps: @@ -32,9 +35,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Install Bundler - run: gem install bundler -v $(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1 | awk '{print $1}') - - name: Install dependencies - run: bundle install + bundler: ${{ matrix.bundler || 'default' }} + bundler-cache: true - name: Run tests run: bundle exec rake diff --git a/Gemfile.lock b/Gemfile.lock index c00c75c0..5f1d8329 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -132,6 +132,3 @@ DEPENDENCIES simplecov vcr (~> 2.5) webmock - -BUNDLED WITH - 2.4.22