Update .forgejo/workflows/yamllint.yml
This commit is contained in:
parent
d7658bab00
commit
14f9db5259
1 changed files with 6 additions and 9 deletions
|
@ -22,9 +22,8 @@ jobs:
|
||||||
- name: Show yamllint version
|
- name: Show yamllint version
|
||||||
run: yamllint --version
|
run: yamllint --version
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
run: |
|
||||||
- name: Lint .yaml files
|
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
run: find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
|
||||||
|
|
||||||
lint-python39:
|
lint-python39:
|
||||||
name: Lint with Python 3.9
|
name: Lint with Python 3.9
|
||||||
|
@ -43,9 +42,8 @@ jobs:
|
||||||
- name: Show yamllint version
|
- name: Show yamllint version
|
||||||
run: yamllint --version
|
run: yamllint --version
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
run: |
|
||||||
- name: Lint .yaml files
|
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
run: find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
|
||||||
|
|
||||||
lint-python310:
|
lint-python310:
|
||||||
name: Lint with Python 3.10
|
name: Lint with Python 3.10
|
||||||
|
@ -64,6 +62,5 @@ jobs:
|
||||||
- name: Show yamllint version
|
- name: Show yamllint version
|
||||||
run: yamllint --version
|
run: yamllint --version
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
run: |
|
||||||
- name: Lint .yaml files
|
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
run: find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
|
Reference in a new issue