1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00
ansible_role_gitea/.github/workflows/ansible-linting-check.yml

24 lines
442 B
YAML
Raw Normal View History

2021-01-16 22:36:41 +01:00
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
2023-07-19 10:58:23 +02:00
on: [push, pull_request]
jobs:
build:
2023-07-19 10:58:23 +02:00
name: Ansible Lint
runs-on: ubuntu-latest
steps:
2022-04-07 22:56:47 +02:00
- name: 'checkout git repo'
uses: actions/checkout@v4
2023-07-19 10:58:23 +02:00
with:
lfs: true
submodules: false
fetch-depth: 0
2021-01-16 22:36:41 +01:00
2022-04-07 22:56:47 +02:00
- name: 'Lint Ansible Playbook'
2022-03-27 04:13:34 +02:00
uses: ansible/ansible-lint-action@v6
2021-01-16 22:36:41 +01:00
with:
2023-07-19 10:58:23 +02:00
path: "."