1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02:00

Add linting

This commit is contained in:
L3D 2020-12-07 18:36:58 +01:00 committed by Lilian Roller
parent 0897166ceb
commit e655bfa69e
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -0,0 +1,20 @@
name: Ansible Lint check
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
targets: "."
# [required]
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
args: ""
# [optional]