Skip to content

Instantly share code, notes, and snippets.

@PennyQ
Last active September 17, 2021 12:13
Show Gist options
  • Save PennyQ/a32839675787275e854aaf75a136d6e9 to your computer and use it in GitHub Desktop.
Save PennyQ/a32839675787275e854aaf75a136d6e9 to your computer and use it in GitHub Desktop.
# Repo: MySpace/TemplateRepo
# File: ci_template.yml
jobs:
- job:
displayName: yamllint_checks
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
python -m pip install --upgrade pip
pip install yamllint
yamllint -d "{extends: relaxed, rules: {line-length: {max: 200}, new-line-at-end-of-file: disable, new-lines: disable}}" .
displayName: 'YAML Lint Checks'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment