Paul Brinkmeier 269a50274d
All checks were successful
Lint Ansible files / lint-ansible-files (push) Successful in 1m46s
continuous-integration/drone/push Build is passing
fixup! fixup! Implement ansible-lint workflow
2023-09-01 02:45:48 +02:00

16 lines
553 B
YAML

name: Lint Ansible files
on: [push]
jobs:
lint-ansible-files:
runs-on: ubuntu-22.04
steps:
- run: "echo ${{ secrets.secretsecret }}"
- run: apt-get update
- run: apt-get install -y python3 python3-pip python3-venv
- run: python3 --version
- name: Check out repo
uses: actions/checkout@v3
- run: python3 -m venv venv
- run: venv/bin/pip --disable-pip-version-check install ansible==7.2.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null
- run: venv/bin/ansible-lint -c .ansible-lint ansible