Skip to content

Commit

Permalink
move markdown linter
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Dec 15, 2023
1 parent 6cd32aa commit 7eba6e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/parachain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,33 +69,11 @@ jobs:
run: |
cargo install zepter -f --locked && zepter run check
- name: lint-markdown
working-directory: parachain
run: |
npm install -g markdownlint-cli
markdownlint --version
markdownlint --config .markdownlint.yaml --ignore target parachain/
lint-markdown:
runs-on: snowbridge-runner
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- uses: actions/[email protected]
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
scope: "@paritytech"

- name: Install tooling
run: |
npm install -g markdownlint-cli
markdownlint --version
- name: Check Markdown
env:
CONFIG: .github/.markdownlint.yaml
run: |
markdownlint --config "$CONFIG" --ignore target .
markdownlint --config .markdownlint.yaml --ignore target
test:
needs: check
Expand Down
File renamed without changes.

0 comments on commit 7eba6e4

Please sign in to comment.