Skip to content

Commit in Git

Commit in Git #30

Workflow file for this run

name: RSpecs
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.2']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Bundle Install
run: bundle check || bundle install -j 20
- name: Rubocop
run: bundle exec rubocop
- name: RSpec
run: bundle exec rspec --format documentation