Sha256: 49ee7b1be98e2f72a972994ae4b857fd3b755e5c5e39df3a2811b19462becc9f

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@v2
    - 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@v2
    - 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.1.0 .github/workflows/lint.yml