mirror of
https://github.com/roles-ansible/ansible_role_ranger.git
synced 2024-08-16 14:19:48 +02:00
Merge pull request #1 from chaos-bodensee/lint
Linting checks with github actions
This commit is contained in:
commit
f5d51fc46b
1 changed files with 20 additions and 0 deletions
20
.github/workflows/ansible-linting-chek.yml
vendored
Normal file
20
.github/workflows/ansible-linting-chek.yml
vendored
Normal 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]
|
Loading…
Reference in a new issue