ansible-role-gitea/.gitea/workflows/ansible-lint.yaml
Marius Alwan Meyer d4b9261f24
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 16s
use major release tag instead of @main
2023-08-10 16:49:12 +02:00

21 lines
663 B
YAML

name: ansible-lint
on: [push, pull_request] # yamllint disable-line rule:truthy
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@v6
# optional:
# with:
# path: "playbooks/" # <-- only one value is allowed