diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 81a73930..ffd208ef 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -7,6 +7,17 @@ env: DATABASE_URL: postgresql://postgres:@localhost/test DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL: true jobs: + rubocop: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + bundler-cache: true + - name: Run rubocop + run: bundle exec rubocop test_ruby: runs-on: ubuntu-latest services: