33 lines
No EOL
638 B
YAML
33 lines
No EOL
638 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: Lint on PR
|
|
|
|
trigger:
|
|
event:
|
|
- pull_request
|
|
|
|
steps:
|
|
- name: python3.8
|
|
image: python:3.8-slim-bullseye
|
|
commands:
|
|
- "python3 --version"
|
|
- "pip3 install yamllint"
|
|
- "yamllint --version"
|
|
- "yamllint ."
|
|
|
|
- name: python3.9
|
|
image: python:3.9-slim-bullseye
|
|
commands:
|
|
- "python3 --version"
|
|
- "pip3 install yamllint"
|
|
- "yamllint --version"
|
|
- "yamllint ."
|
|
|
|
- name: python3.10
|
|
image: python:3.10-slim-bullseye
|
|
commands:
|
|
- "python3 --version"
|
|
- "pip3 install yamllint"
|
|
- "yamllint --version"
|
|
- "yamllint ." |