CartoDB/cartodb20

View on GitHub
.github/workflows/rubocop.yml

Summary

Maintainability
Test Coverage
# https://github.com/reviewdog/action-rubocop
name: Rubocop
on: [pull_request]
jobs:
  rubocop:
    name: check
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.5.8
      - run: 'gem install activesupport -v 6.1.4.4'
      - name: Rubocop linter
        uses: reviewdog/action-rubocop@v1
        with:
          rubocop_version: 1.23.0
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-check
          level: error
          fail_on_error: true