Skip to content

Checkout submodules. #9

Checkout submodules.

Checkout submodules. #9

name: ansible-lint
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: 'true'
- name: 'Create vault password.'
run: echo "${{ secrets.VAULT_PASSWORD }}" > ~/.goldentooth_vault_password
- name: 'Install requirements.'
run: ansible-galaxy install -r requirements.yml
- name: 'Run ansible-lint.'
uses: ansible/ansible-lint@a3fc7e4def4c3576a221fd1e0e58c0ee43f73af5 # v24.2.0