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
492 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.1.1
2023-07-19 10:58:23 +02:00
with:
fetch-depth: 0
2021-01-16 22:36:41 +01:00
2023-10-10 19:30:38 +02:00
- name: Run ansible-lint
uses: ansible-actions/ansible-lint-action@v1.0.2
2021-01-16 22:36:41 +01:00
with:
2023-10-10 19:30:38 +02:00
target: "./"
collections_yml: 'requirements.yml'
python_dependency: 'jmespath'