mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 21:45:01 +00:00
Run the markdown linter in the CI
This commit is contained in:
parent
fe2517041f
commit
d9320277e1
2 changed files with 13 additions and 1 deletions
8
.github/workflows/CICD.yml
vendored
8
.github/workflows/CICD.yml
vendored
|
@ -291,7 +291,13 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
RUSTDOCFLAGS="-Dwarnings" cargo doc ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --no-deps --workspace --document-private-items
|
RUSTDOCFLAGS="-Dwarnings" cargo doc ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --no-deps --workspace --document-private-items
|
||||||
|
- uses: DavidAnson/markdownlint-cli2-action@v9
|
||||||
|
with:
|
||||||
|
command: fix
|
||||||
|
globs: |
|
||||||
|
*.md
|
||||||
|
docs/src/*.md
|
||||||
|
src/uu/*/*.md
|
||||||
|
|
||||||
min_version:
|
min_version:
|
||||||
name: MinRustV # Minimum supported rust version (aka, MinSRV or MSRV)
|
name: MinRustV # Minimum supported rust version (aka, MinSRV or MSRV)
|
||||||
|
|
6
.markdownlint.yaml
Normal file
6
.markdownlint.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Disable 'Line length'. Doesn't provide much values
|
||||||
|
MD013: false
|
||||||
|
# Disable 'Fenced code blocks should have a language specified'
|
||||||
|
# Doesn't provide much in src/ to enforce it
|
||||||
|
MD040: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue