Bump home-assistant/actions from 8ca6e134c077479b26138bd33520707e8d94ef59 to 01a62fa0b7ab4a0ac894184f48a82477812dca4b #114
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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Set up Python | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.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 |