--- name: Lint 'on': pull_request: push: branches: - main jobs: test: name: Lint runs-on: ubuntu-latest steps: - name: Check out the codebase. uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Set up Python 3.13. uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.13.x' - name: Install test dependencies. run: pip3 install yamllint ansible-lint ansible - name: Run yamllint. run: yamllint . - name: Run ansible-lint. run: ansible-lint