ansible-role-gitea/.gitea/workflows/ansible-lint.yaml
Marius Alwan Meyer 5ec6cd86e9
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 50s
ansible-lint / Ansible Lint (pull_request) Failing after 11s
try ansible-lint action
2023-04-28 21:51:27 +00:00

20 lines
628 B
YAML

name: ansible-lint
on: [push, pull_request]
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v3
with:
fetch-depth: 0 # needed for progressive mode to work
- name: Run ansible-lint
# replace `main` with any valid ref, or tags like `v6`
uses: https://github.com/ansible/ansible-lint-action@main
# optional:
# with:
# path: "playbooks/" # <-- only one value is allowed