Some checks failed
/ Ansible Lint (push) Failing after 1m20s
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.
19 lines
537 B
YAML
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
|