Skip to content

Commit

Permalink
Add ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
Fun1hero committed Nov 25, 2024
1 parent 08f893c commit bfcdb23
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ on: push
jobs:
run-rspec-tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.1', '3.0', '2.7']
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: |
Expand Down

0 comments on commit bfcdb23

Please sign in to comment.