docs: improve Casbin.NET docs and missing code examples #135
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Markdown Lint | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'docs/**' | |
| jobs: | |
| markdownlint: | |
| name: Markdown Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - name: Install markdownlint | |
| run: npm install -g [email protected] | |
| - name: Run markdownlint | |
| run: markdownlint 'docs/**/*.{md,mdx}' --config .markdownlint.jsonc |