Skip to content

Bump actionlint (#1287) #1170

Bump actionlint (#1287)

Bump actionlint (#1287) #1170

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
paths-ignore:
- '**/*.gitattributes'
- '**/*.gitignore'
- '**/*.md'
pull_request:
branches:
- main
- dotnet-vnext
- dotnet-nightly
workflow_dispatch:
permissions:
contents: read
env:
FORCE_COLOR: 3
TERM: xterm
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add actionlint problem matcher
run: echo "::add-matcher::.github/actionlint-matcher.json"
- name: Lint workflows
uses: docker://rhysd/actionlint@sha256:d1b3d067b912ea4cbf697750cee80f59114414365b916167b4c7b4cf9504ca9a # v1.7.5
with:
args: -color
- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@v18
with:
config: '.markdownlint.json'
globs: |
**/*.md