Skip to content

Use the latest GitHub Actions when generating a GitHub Pages workflow #133

Use the latest GitHub Actions when generating a GitHub Pages workflow

Use the latest GitHub Actions when generating a GitHub Pages workflow #133

Workflow file for this run

name: Tests
on: push
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
name: Ruby ${{ matrix.ruby }} RSpec
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- run: bundle exec rspec
rubocop:
runs-on: ubuntu-latest
name: RuboCop
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
- run: bundle exec rubocop