Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Johan <johman10@users.noreply.github.com>
28 lines
630 B
YAML
28 lines
630 B
YAML
name: Lint and Format Check
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
|
|
with:
|
|
python-version: "3.14"
|
|
|
|
- name: Install uv
|
|
run: pip install uv
|
|
|
|
- name: Install dev dependencies
|
|
run: uv sync --extra dev
|
|
|
|
- name: Run pylint on scripts
|
|
run: uv run pylint scripts tests
|