--- 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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.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