learnxinyminutes-docs/.github/workflows/lint.yml

19 lines
419 B
YAML
Raw Normal View History

2024-04-26 09:13:48 +00:00
name: CI
2024-04-20 15:06:48 +00:00
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.2'
- run: gem install mdl
2024-04-26 09:13:48 +00:00
- run: mdl . --ignore-front-matter -r MD003,MD011,MD023,MD027,MD028,MD035,MD037,MD038,MD039,MD047