ansible-infra/.forgejo/workflows/lint.yaml
June 385f625c10
Some checks failed
/ Ansible Lint (push) Failing after 1m20s
ci: move Ansible Lint job to ubuntu-latest runner to make it work again
Move Ansible Lint job to ubuntu-latest runner to make it work again.
Moving it to the ubuntu-latest runner also removes the need for manual
dependency setup.
2025-10-22 00:42:30 +02:00

19 lines
537 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-latest
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