chore: ignore personal github settings (#141) #626
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: Linters | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
ruff-lint-check: | |
name: Ruff Lint Check | |
runs-on: ubuntu-24.04 | |
steps: | |
# Common steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
- name: Set up uv | |
uses: astral-sh/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v6 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: uv sync --all-extras | |
# Job-specific step(s): | |
- name: Run lint check | |
run: uv run ruff check . | |
ruff-format-check: | |
name: Ruff Format Check | |
runs-on: ubuntu-24.04 | |
steps: | |
# Common steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
- name: Set up uv | |
uses: astral-sh/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v6 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: uv sync --all-extras | |
# Job-specific step(s): | |
- name: Check code format | |
run: uv run ruff format --diff . | |
mypy-check: | |
name: MyPy Check | |
runs-on: ubuntu-24.04 | |
steps: | |
# Common steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
- name: Set up uv | |
uses: astral-sh/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v6 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: uv sync --all-extras | |
# Job-specific step(s): | |
- name: Run mypy | |
run: uv run mypy connector_builder_mcp |