From 5349ebdcd9af90fb6304600b304641aa847d84bf Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 28 May 2024 00:12:08 +0000 Subject: [PATCH] Delete .drone.yml --- .drone.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 15b79f9..0000000 --- a/.drone.yml +++ /dev/null @@ -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}}}" {} +' \ No newline at end of file