mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-02-06 15:25:03 +01:00
.. to tell the Github Action where to install roles via ansible-galaxy. Ref: https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#setting-where-to-install-roles
29 lines
625 B
YAML
29 lines
625 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
|
|
env:
|
|
ANSIBLE_ROLES_PATH: ./roles:roles/galaxy
|
|
with:
|
|
requirements_file: requirements.yml
|