Compare commits
No commits in common. "e0f9ab4cccae7c08c2f5d2c5de4f9721e028bb10" and "79945025ca72f1dc805bb2a247ffced292b6d3fc" have entirely different histories.
e0f9ab4ccc
...
79945025ca
1 changed files with 4 additions and 6 deletions
10
.drone.yml
10
.drone.yml
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Lint on PR
|
||||
|
@ -13,8 +14,7 @@ steps:
|
|||
- "python3 --version"
|
||||
- "pip3 install yamllint"
|
||||
- "yamllint --version"
|
||||
- 'find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +'
|
||||
- 'find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +'
|
||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
||||
|
||||
- name: python3.9
|
||||
image: python:3.9-slim-bullseye
|
||||
|
@ -22,8 +22,7 @@ steps:
|
|||
- "python3 --version"
|
||||
- "pip3 install yamllint"
|
||||
- "yamllint --version"
|
||||
- 'find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +'
|
||||
- 'find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +'
|
||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
||||
|
||||
- name: python3.10
|
||||
image: python:3.10-slim-bullseye
|
||||
|
@ -31,5 +30,4 @@ steps:
|
|||
- "python3 --version"
|
||||
- "pip3 install yamllint"
|
||||
- "yamllint --version"
|
||||
- 'find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +'
|
||||
- 'find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +'
|
||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
Reference in a new issue