xoxys.auditd/.woodpecker/lint.yaml
Robert Kaussow f451265e33
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test unknown status
ci/woodpecker/pr/docs unknown status
debug
2024-08-18 20:25:42 +02:00

39 lines
775 B
YAML

---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: ansible-lint
image: ghcr.io/ansible/community-ansible-dev-tools
commands:
- sleep 10000
- pwd
- id
- echo $HOME
- echo $PATH
- which ansible-lint
- ansible-lint --help
- ansible-lint
environment:
FORCE_COLOR: "1"
ANSIBLE_LOCAL_TEMP: /tmp
- name: python-format
image: docker.io/python:3.12
commands:
- pip install -qq ruff
- ruff format --check --diff .
environment:
PY_COLORS: "1"
- name: python-lint
image: docker.io/python:3.12
commands:
- pip install -qq ruff
- ruff check .
environment:
PY_COLORS: "1"