DNM: Fixing GH actions. #455
Workflow file for this run
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: Ansible Lint | |
| on: | |
| pull_request: | |
| paths: | |
| - playbooks/**.yaml | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checks-out the repository under $GITHUB_WORKSPACE | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install ansible-lint | |
| run: python3 -m pip install ansible-dev-tools --user | |
| - name: Install dependency | |
| run: ansible-galaxy collection install ansible.posix community.general tripleo.operator containers.podman community.crypto | |
| - name: Run lint | |
| run: ansible-lint playbooks/** |