Merge branch 'main' into renovate/docker.mafyuh.xyz-sonatype-nexus3-3.x
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 9s
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 9s
This commit is contained in:
commit
81cbde7c60
1 changed files with 0 additions and 35 deletions
35
.drone.yml
35
.drone.yml
|
@ -1,35 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: Lint on PR
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: python3.8
|
|
||||||
image: docker.mafyuh.xyz/python:3.8-slim-bullseye
|
|
||||||
commands:
|
|
||||||
- "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}}}" {} +'
|
|
||||||
|
|
||||||
- name: python3.10
|
|
||||||
image: docker.mafyuh.xyz/python:3.9-slim-bullseye
|
|
||||||
commands:
|
|
||||||
- "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}}}" {} +'
|
|
||||||
|
|
||||||
- name: python3.12
|
|
||||||
image: docker.mafyuh.xyz/python:3.10-slim-bullseye
|
|
||||||
commands:
|
|
||||||
- "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}}}" {} +'
|
|
Reference in a new issue