ansible-infra/.forgejo/workflows/lint.yaml
June 7e80b9256f
Some checks failed
/ Ansible Lint (push) Failing after 11s
WIP: ci
2024-11-24 01:28:53 +01:00

23 lines
548 B
YAML

# Links & Resources:
# https://github.com/ansible/ansible-lint?tab=readme-ov-file#using-ansible-lint-as-a-github-action
on:
pull_request:
push:
jobs:
ansible-lint:
name: Ansible Lint
runs-on: docker
container:
image: docker.io/library/ubuntu:latest
steps:
- name: Install nodejs
run: |
apt update
apt install nodejs
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: https://github.com/ansible/ansible-lint@main
with:
setup_python: "true"