mirror of https://github.com/rust-lang/rustlings
feat(docs): add markdown linter for exercises README.md files
parent
362c1b0d11
commit
382e16eb7e
@ -0,0 +1,18 @@
|
|||||||
|
name: Lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: DavidAnson/markdownlint-cli2-action@v9
|
||||||
|
with:
|
||||||
|
globs: "exercises/**/*.md"
|
@ -0,0 +1,2 @@
|
|||||||
|
# MD013/line-length Line length, Expected: 80
|
||||||
|
MD013: false
|
Loading…
Reference in New Issue