parent
d3d37e2e4c
commit
5683c41d08
2 changed files with 24 additions and 0 deletions
23
.forgejo/workflows/lint.yaml
Normal file
23
.forgejo/workflows/lint.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Links & Resources:
|
||||
# https://github.com/ansible/ansible-lint?tab=readme-ov-file#using-ansible-lint-as-a-github-action
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
ansible-lint:
|
||||
name: Ansible Lint
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: miau
|
||||
run: |
|
||||
apt update
|
||||
apt install -y pip
|
||||
- name: Run ansible-lint
|
||||
uses: https://github.com/ansible/ansible-lint@main
|
||||
with:
|
||||
setup_python: "false"
|
||||
requirements_file: "ansible-python-requirements.txt"
|
||||
env:
|
||||
PIP_BREAK_SYSTEM_PACKAGES: 1
|
1
ansible-python-requirements.txt
Normal file
1
ansible-python-requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
jmespath
|
Loading…
Reference in a new issue