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/yamllint-check.yml
L3D 38599ae607
andding jinja2 linter and improve template
+ update yamllint
+ update ansible-lint
+ add j2lint
+ lint j2 template
2023-10-21 02:16:13 +02:00

22 lines
413 B
YAML

---
name: Yamllint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
name: Yamllint
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run yamllint
uses: ansible-actions/yamllint-action@v0.0.1
with:
target: "./"