HowToCook/.github/workflows/ci.yml

18 lines
423 B
YAML
Raw Normal View History

2022-03-04 15:49:00 +00:00
name: ci
2022-01-04 03:24:15 +00:00
on:
pull_request:
2022-03-04 15:49:00 +00:00
branches: [ $default-branch ]
2022-01-04 03:24:15 +00:00
jobs:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install packages
run: sudo gem install mdl
- name: Lint markdown files
2022-03-03 16:53:24 +00:00
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
2022-03-03 16:36:07 +00:00
# Suppress 036 Emphasis used instead of a header
# Suppress 024 Multiple headers with the same content