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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # 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
|