Skip to content

Merge pull request #63 from thecodecrate/update-rspec-github-actions-… #4

Merge pull request #63 from thecodecrate/update-rspec-github-actions-…

Merge pull request #63 from thecodecrate/update-rspec-github-actions-… #4

Workflow file for this run

name: RSpec Tests
on:
push:
branches:
- main
- v0
pull_request:
branches:
- main
- v0
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.6', '3.0']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec