ansible_role_restic/.github/workflows/ansible-linting-check.yml

22 lines
406 B
YAML
Raw 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'
2024-12-11 23:50:20 +01:00
uses: actions/checkout@v4.1.1
2023-08-10 11:46:05 +02:00
with:
fetch-depth: 0
2022-10-06 14:52:27 +02:00
2024-12-11 23:50:20 +01:00
- name: Run ansible-lint
uses: ansible-actions/ansible-lint-action@v1.0.3
2022-10-06 14:52:27 +02:00
with:
2024-12-11 23:50:20 +01:00
target: "./"