Skip to content

Merge pull request #39 from yahonda/fix_typo #81

Merge pull request #39 from yahonda/fix_typo

Merge pull request #39 from yahonda/fix_typo #81

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
rubocop:
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
steps:
- uses: actions/checkout@v4
- 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
steps:
- uses: actions/checkout@v4
- 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