Sha256: a48e86ed26f3fad135e48165a9ba38100f2e277689105cd3c1ba45377ee4056d

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

name: Lint

on:
  push:
    branches:
    - master
  pull_request:

jobs:
  rubocop:
    runs-on: ubuntu-latest
    env:
      BUNDLE_JOBS: 4
      BUNDLE_RETRY: 3
      CI: true
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7
        bundler-cache: true
    - name: Run Rubocop
      run: |
        bundle exec rubocop
  rubocop-md:
    runs-on: ubuntu-latest
    env:
      BUNDLE_JOBS: 4
      BUNDLE_RETRY: 3
      CI: true
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.1
        bundler-cache: true
    - name: Run Rubocop
      run: |
        bundle exec rubocop -r./lib/rubocop-md.rb README.md CHANGELOG.md
        git status
        git diff --exit-code

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-md-1.2.0 .github/workflows/lint.yml