name: rspec on: push: pull_request: jobs: rspec: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: '2.7' - name: Bundler and gem install run: | gem install bundler bundle install --jobs 4 - name: Run rspec run: bundle exec rspec