ansible-infra/.forgejo/workflows/lint.yaml
June f564c4e44a
Some checks are pending
/ Ansible Lint (push) Waiting to run
ci: move Ansible Lint job to ubuntu runner to make it work again
Move Ansible Lint job to ubuntu runner to make it work again.
Moving it to the ubuntu runner also removes the need for manual
dependency setup.
2025-10-22 00:39:06 +02:00

19 lines
530 B
YAML

# Links & Resources:
# https://github.com/ansible/ansible-lint?tab=readme-ov-file#using-ansible-lint-as-a-github-action
# https://github.com/ansible/ansible-lint/blob/main/action.yml
on:
pull_request:
push:
jobs:
ansible-lint:
name: Ansible Lint
runs-on: ubuntu
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: https://github.com/ansible/ansible-lint@v24.10.0
with:
requirements_file: "requirements.yml"
env:
PIP_BREAK_SYSTEM_PACKAGES: 1