DNM: Fixing GH actions. #453
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: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install ansible-lint | |
| run: python3 -m pip install ansible-dev-tools --user | |
| - name: Install dependency | |
| run: ansible-galaxy collection install ansible.posix | |
| - name: Run lint | |
| run: ansible-lint -c .ansible-lint playbooks/** |