Bump home-assistant/actions from a19f5f4e08ef2786e4604a948f62addd937a6bc9 to e5c98268a8eab18c0ddb35d2e920585f042ee1fe #41
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "main" | |
| permissions: {} | |
| jobs: | |
| ruff: | |
| name: "Ruff" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: "3.13" | |
| cache: "pip" | |
| - name: Install requirements | |
| run: python3 -m pip install -r requirements.txt | |
| - name: Lint | |
| run: python3 -m ruff check . | |
| - name: Format | |
| run: python3 -m ruff format . --check |