1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00
ansible_role_i3wm/.github/workflows/ansible-linting-check.yml

24 lines
442 B
YAML
Raw Normal View History

2021-02-26 17:26:17 +01:00
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
2023-07-31 23:17:34 +02:00
on: [push, pull_request]
2021-02-26 17:26:17 +01:00
jobs:
build:
2023-07-31 23:17:34 +02:00
name: Ansible Lint
2021-02-26 17:26:17 +01:00
runs-on: ubuntu-latest
steps:
2023-07-31 23:17:34 +02:00
- name: 'checkout git repo'
2022-04-11 17:51:43 +02:00
uses: actions/checkout@v3
2023-05-19 19:00:08 +02:00
with:
2023-07-31 23:17:34 +02:00
lfs: true
submodules: false
2023-05-19 19:00:08 +02:00
fetch-depth: 0
2021-02-26 17:26:17 +01:00
2022-04-11 17:51:43 +02:00
- name: 'Lint Ansible Playbook'
uses: ansible/ansible-lint-action@v6
2021-02-26 17:26:17 +01:00
with:
2023-07-31 23:17:34 +02:00
path: "."