mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](8d9ed9ac5c...e797f83bcb)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
34 lines
707 B
YAML
34 lines
707 B
YAML
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@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
|