From 7e22b2dd6f8d4483e7007fe1430ed335360251f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Thu, 25 Nov 2021 11:39:59 +0100 Subject: Add ansible-lint --- .github/workflows/pr.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8370128..2e80846 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -28,6 +28,10 @@ jobs: - uses: actions/checkout@v2 with: path: "${{ github.repository }}" + - name: Lint Ansible Playbook + uses: ansible/ansible-lint-action@master + with: + targets: "${{ github.repository }}" - run: | sudo apt update && sudo apt install -y python3-pip pip3 install -r ${{ github.repository }}/requirements.txt -- cgit v1.2.3