Correct python code blocks and syntax errors #37
Workflow file for this run
This file contains 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: Check Markdown and Front Matter | |
on: | |
push: | |
paths: | |
- '**/*.md' | |
pull_request: | |
paths: | |
- '**/*.md' | |
jobs: | |
check-markdown-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run Front Matter Linting | |
uses: alasdairwilson/front-matter-lint@main | |
with: | |
directory: '.' | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install markdownlint-cli | |
run: npm install -g markdownlint-cli | |
- name: Lint Markdown files | |
run: markdownlint '**/*.md' --ignore '*/*/slides/*' --ignore README.md |