diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e2c92b6..85d67eb6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,5 +12,6 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} + bundler: ${{ (matrix.ruby_version < '3' && '2.4.21') || 'latest' }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: bundle exec thor spec