kubernetes-hands-on/.circleci/config.yml

37 lines
694 B
YAML

---
version: 2.1
orbs:
yamllint: freighthub/yamllint@1.0.0
jobs:
lint-yml:
docker:
- image: circleci/python:3.7.3
steps:
- checkout
- run:
name: install yamllint
command: pip install --user yamllint
- run:
name: lint yml
command: /home/circleci/.local/bin/yamllint .
lint-md:
docker:
- image: cimg/node:18.10.0
steps:
- checkout
- run:
name: install markdownlint-cli
command: sudo yarn global add markdownlint-cli
- run:
name: lint markdown
command: markdownlint .
workflows:
version: 2
suite:
jobs:
- lint-md
- lint-yml