name: Ruby 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: 2.7.6 bundler-cache: true - name: Tests run: bundle exec rake test - name: Rubocop run: bundle exec rubocop