Skip to content

[ZFM-1194] Run against multiple ruby versions and update few GithubActions #22

[ZFM-1194] Run against multiple ruby versions and update few GithubActions

[ZFM-1194] Run against multiple ruby versions and update few GithubActions #22

Workflow file for this run

name: Run RSpec tests
on:
workflow_call:
workflow_dispatch:
pull_request:
env:
APPLICATION_NAME: eventboss
jobs:
run-tests:
name: Run RSpec
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Run tests
run: bundle exec rspec