xoxys.auditd/.woodpecker/lint.yaml
Robert Kaussow 2005031958
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:50:33 +02:00

34 lines
725 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
- ansible-lint
environment:
# TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552
HOME: "/home/podman"
FORCE_COLOR: "1"
- 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"