chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.1 #737
Workflow file for this run
This file contains 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: Verify | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Check the Codebase | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.13"] | |
poetry-version: [1.8.4] | |
steps: | |
- uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Poetry ${{ matrix.poetry-version }} | |
uses: abatilo/actions-poetry@3765cf608f2d4a72178a9fc5b918668e542b89b1 # v4.0.0 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- run: | | |
poetry install | |
- run: | | |
poetry check | |
poetry run ruff check . | |
- run: | | |
poetry run pytest | |
poetry run coverage xml | |
- uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2.3.4 | |
with: | |
file: coverage.xml | |
validate_hacs: | |
runs-on: ubuntu-latest | |
name: Validate HACS | |
steps: | |
- uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: HACS Validation | |
uses: hacs/action@70694a570839431b5c69ff0eba599a213dc7a43b # main | |
with: | |
category: integration |