Pre-commit hooks (#125)

* feat: pre-commit

* empty

* fix: requirements.txt
This commit is contained in:
samerbahri98 authored and GitHub committed 2022-10-26 19:15:24 -05:00
1 parent 45ddd65e74
commit 4f3b8ec9e0
4 files changed
+27 -7

No files matched your search

+4 -7
View File
@@ -7,8 +7,8 @@ on:
- master
jobs:
ansible-lint:
name: YAML Lint + Ansible Lint
pre-commit-ci:
name: Pre-Commit
runs-on: ubuntu-latest
steps:
@@ -34,8 +34,5 @@ jobs:
ansible-galaxy install -r collections/requirements.yml
echo "::endgroup::"
- name: Run yamllint
run: yamllint .
- name: Run ansible-lint
run: ansible-lint
- name: Run pre-commit
uses: pre-commit/action@v3.0.0