Merge pull request #916 from sir-gon/renovate/tomlkit-0.x #1269
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: YAML lint | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: ["main"] | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| name: YAML lint | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.14 | |
| - name: Install pipenv | |
| run: > | |
| sudo apt install pipenv | |
| - name: Install yamllint | |
| run: > | |
| pipenv sync --dev | |
| - name: Lint YAML files | |
| run: > | |
| yamllint --strict . | |
| && echo '✔ Your code looks good.' |