This repository was archived by the owner on Dec 4, 2025. It is now read-only.
CI #991
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: CI | |
| # yamllint disable-line rule:truthy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 0 * * *" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: eifinger/setup-rye@v4 | |
| with: | |
| enable-cache: true | |
| - name: Pin python-version ${{ matrix.python-version }} | |
| run: rye pin ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| rye sync | |
| - name: Lint | |
| run: | | |
| SKIP=no-commit-to-branch rye run pre-commit run --all-files | |
| hacs: | |
| name: HACS Action | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - name: HACS Action | |
| uses: "hacs/action@main" | |
| with: | |
| category: "integration" | |
| ignore: "brands" | |
| hass_validate: | |
| name: Hassfest | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - name: Hassfest | |
| uses: home-assistant/actions/hassfest@master |