<commit_before>name: Lint
on: [push]
jobs:
  rubocop:
    name: rubocop
    runs-on: ubuntu-18.04

    steps:
      - uses: actions/checkout@master
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6
      - uses: actions/cache@v1
        with:
          path: vendor
          key: v1-ruby-2.6

      - name: Install dependencies
        run: |
          sudo apt-get install --quiet --yes libsqlite3-dev

      - name: Install bundler
        run: |
          gem install bundler -v '~> 2.0'
          bundle config path "$(pwd)/vendor/bundle"
          bundle config without development

      - name: Run bundle install
        run: bundle install --jobs=4 --retry=3

      - name: Run rubocop
        run: bundle exec rubocop --parallel
<commit_msg>ci: Run rubocop with colors<commit_after>name: Lint
on: [push]
jobs:
  rubocop:
    name: rubocop
    runs-on: ubuntu-18.04

    steps:
      - uses: actions/checkout@master
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6
      - uses: actions/cache@v1
        with:
          path: vendor
          key: v1-ruby-2.6

      - name: Install dependencies
        run: |
          sudo apt-get install --quiet --yes libsqlite3-dev

      - name: Install bundler
        run: |
          gem install bundler -v '~> 2.0'
          bundle config path "$(pwd)/vendor/bundle"
          bundle config without development

      - name: Run bundle install
        run: bundle install --jobs=4 --retry=3

      - name: Run rubocop
        run: bundle exec rubocop --parallel --color

{'fraction_non_alphanumeric': 0.10176991150442478, 'fraction_numerical': 0.020227560050568902, 'mean_word_length': 1.664983164983165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4089775', 'n_tokens_mistral': 522, 'n_tokens_neox': 487, 'n_words': 143}