1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00
ansible_role_restic/.github/workflows/ansible-linting-check.yml

24 lines
442 B
YAML
Raw Permalink Normal View History

2022-10-06 14:52:27 +02:00
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
2023-08-10 11:46:05 +02:00
on: [push, pull_request]
2022-10-06 14:52:27 +02:00
jobs:
build:
2023-08-10 11:46:05 +02:00
name: Ansible Lint
2022-10-06 14:52:27 +02:00
runs-on: ubuntu-latest
steps:
2022-11-06 20:30:48 +01:00
- name: 'checkout git repo'
uses: actions/checkout@v4
2023-08-10 11:46:05 +02:00
with:
lfs: true
submodules: false
fetch-depth: 0
2022-10-06 14:52:27 +02:00
2022-11-06 20:30:48 +01:00
- name: 'Lint Ansible Playbook'
2022-10-06 14:52:27 +02:00
uses: ansible/ansible-lint-action@v6
with:
2023-08-10 11:46:05 +02:00
path: "."