ansible-loki-role/.github/workflows/ansible.yml
2022-03-04 14:43:35 +01:00

22 lines
428 B
YAML

name: Ansible
on: [push, pull_request]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
release:
needs:
- linter
runs-on: ubuntu-latest
steps:
- name: galaxy
uses: robertdebock/galaxy-action@1.0.3
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}