chore(ci): add CI workflow and Dependabot hardening #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, dev, 'feature/**'] | |
| pull_request: | |
| branches: [main, dev] | |
| jobs: | |
| ansible-lint: | |
| name: Ansible Lint | |
| runs-on: ubuntu-latest | |
| container: | |
| image: python:3.13-slim | |
| steps: | |
| - run: apt-get update && apt-get install -y --no-install-recommends git | |
| - uses: actions/checkout@v4 | |
| - run: pip install --no-cache-dir ansible-lint | |
| - run: ansible-galaxy collection install ansible.windows | |
| - run: ansible-lint 02_ansible_layer/ |