Skip to content

Bump DavidAnson/markdownlint-cli2-action from 17 to 18 in /.github/workflows #1

Bump DavidAnson/markdownlint-cli2-action from 17 to 18 in /.github/workflows

Bump DavidAnson/markdownlint-cli2-action from 17 to 18 in /.github/workflows #1

Workflow file for this run

---
name: Yamllint
on: # yamllint disable-line rule:truthy
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
# This is the version of the action for setting up
# Python, not the Python version.
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install yamllint
run: |
python -m pip install --upgrade pip setuptools wheel
pip install --user yamllint
- name: Version check
run: |
yamllint --version
- name: Analysing YML files
run: |
yamllint . -c .yamllint.yaml