mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-27 07:03:18 +03:00
Ref: https://ansible.readthedocs.io/projects/lint/installing/#installing-ansible-lint-as-a-github-action
27 lines
561 B
YAML
27 lines
561 B
YAML
---
|
|
name: Matrix CI
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
yamllint:
|
|
name: yamllint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
- name: Run yamllint
|
|
uses: frenck/action-yamllint@v1.5.0
|
|
ansible-lint:
|
|
name: ansible-lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
- name: Run ansible-lint
|
|
uses: ansible/ansible-lint@v24.10.0
|
|
with:
|
|
requirements_file: requirements.yml
|