Compare commits
No commits in common. "d77fe08933cd799cb38afd1901f57c3cca7e7109" and "2381574631dbeefb1b75e569115309702b9319ac" have entirely different histories.
d77fe08933
...
2381574631
1 changed files with 31 additions and 19 deletions
|
@ -9,58 +9,70 @@ jobs:
|
||||||
name: Lint with Python 3.8
|
name: Lint with Python 3.8
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.mafyuh.xyz/python:3.8-slim-bullseye
|
image: docker.mafyuh.xyz/nikolaik/python-nodejs:python3.8-nodejs18-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
run: python3 --version
|
run: |
|
||||||
|
python3 --version
|
||||||
- name: Install yamllint
|
- name: Install yamllint
|
||||||
run: pip3 install yamllint
|
run: |
|
||||||
|
pip3 install yamllint
|
||||||
- name: Show yamllint version
|
- name: Show yamllint version
|
||||||
run: yamllint --version
|
run: |
|
||||||
|
yamllint --version
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: |
|
run: |
|
||||||
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
|
- name: Lint .yaml files
|
||||||
|
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
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.mafyuh.xyz/python:3.9-slim-bullseye
|
image: docker.mafyuh.xyz/nikolaik/python-nodejs:python3.9-nodejs18-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.9
|
||||||
run: python3 --version
|
run: |
|
||||||
|
python3 --version
|
||||||
- name: Install yamllint
|
- name: Install yamllint
|
||||||
run: pip3 install yamllint
|
run: |
|
||||||
|
pip3 install yamllint
|
||||||
- name: Show yamllint version
|
- name: Show yamllint version
|
||||||
run: yamllint --version
|
run: |
|
||||||
|
yamllint --version
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: |
|
run: |
|
||||||
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
|
- name: Lint .yaml files
|
||||||
|
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
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.mafyuh.xyz/python:3.10-slim-bullseye
|
image: docker.mafyuh.xyz/nikolaik/python-nodejs:python3.10-nodejs18-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
run: python3 --version
|
run: |
|
||||||
|
python3 --version
|
||||||
- name: Install yamllint
|
- name: Install yamllint
|
||||||
run: pip3 install yamllint
|
run: |
|
||||||
|
pip3 install yamllint
|
||||||
- name: Show yamllint version
|
- name: Show yamllint version
|
||||||
run: yamllint --version
|
run: |
|
||||||
|
yamllint --version
|
||||||
- name: Lint .yml files
|
- name: Lint .yml files
|
||||||
run: |
|
run: |
|
||||||
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
find . -name "*.yml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
|
- name: Lint .yaml files
|
||||||
|
run: |
|
||||||
|
find . -name "*.yaml" ! -name ".drone.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} +
|
||||||
|
|
Reference in a new issue