summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorAli Afsharzadeh <afsharzadeh8@gmail.com>2023-03-30 19:53:22 +0330
committerAli Afsharzadeh <afsharzadeh8@gmail.com>2023-03-30 19:53:22 +0330
commit382e16eb7ea66cddc4860f4b19453b031a2a8a8a (patch)
tree4867f505b36ed69381a294b58d056cd9e92b8439 /.github/workflows/lint.yml
parent362c1b0d113ad9a5bd4d1dee8086757efd060785 (diff)
feat(docs): add markdown linter for exercises README.md files
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000..67339d1
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -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"