Workflow fixes, pt. 1

This commit is contained in:
Felipe
2024-12-05 12:00:44 +00:00
parent d1b70d83b1
commit 02785b2eba
3 changed files with 9 additions and 3 deletions

View File

@@ -18,7 +18,6 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
@@ -31,5 +30,10 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install correct Bundler version
run: |
if [[ "${{ matrix.ruby-version }}" == "2.7" ]]; then
gem install bundler -v "~> 2.4.0"
fi
- name: Run tests
run: bundle exec rake
run: bundle exec rake