ansible-role-gitea/.gitea/workflows/ansible-lint.yaml

21 lines
663 B
YAML
Raw Normal View History

2023-04-28 23:49:20 +02:00
name: ansible-lint
2023-07-17 10:36:59 +02:00
on: [push, pull_request] # yamllint disable-line rule:truthy
2023-04-28 23:49:20 +02:00
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`
2023-08-10 16:49:12 +02:00
uses: https://github.com/ansible/ansible-lint-action@v6
2023-04-28 23:49:20 +02:00
# optional:
# with:
2023-07-17 10:36:59 +02:00
# path: "playbooks/" # <-- only one value is allowed