name: build on: [push,pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.0 - name: Run Rubocop run: bundle install && bundle exec rubocop - name: Run RSpec run: bundle exec rspec