Skip to content

Update DavidAnson/markdownlint-cli2-action action to v17 (#35) #133

Update DavidAnson/markdownlint-cli2-action action to v17 (#35)

Update DavidAnson/markdownlint-cli2-action action to v17 (#35) #133

Workflow file for this run

---
name: Lint
"on":
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}
jobs:
build:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
- name: Create dist
run: npm run dist
- name: Check if build left artifacts
run: git diff --exit-code
# uses .markdownlint.yml for configuration
- name: markdownlint
uses: DavidAnson/markdownlint-cli2-action@db43aef879112c3119a410d69f66701e0d530809 # v17.0.0
with:
globs: |
.github/**/*.md
*.md
- name: yamllint
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1
with:
file_or_dir: |
.github/**/*.yml
.*.yml
strict: true
config_file: .yamllint.yml
- name: actionlint
uses: reviewdog/action-actionlint@4f8f9963ca57a41e5fd5b538dd79dbfbd3e0b38a # v1.54.0
env:
SHELLCHECK_OPTS: -o all