Merge pull request #180 from rust-lang/docs-document-rust-ci-datadog-… #99
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: Markdown | |
"on": | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run markdownlint | |
uses: nosborn/[email protected] | |
with: | |
files: "**/*.md" | |
style: | |
name: Check style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run prettier | |
uses: creyD/[email protected] | |
with: | |
dry: true | |
prettier_options: "--check **/*.md" |