Merge push-nqrvnzxzrpkz Into main #25
Workflow file for this run
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: Lint Code | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint_code: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sudo env UV_INSTALL_DIR="/usr/local/bin" sh | |
| uv sync --all-extras | |
| - name: Check code format | |
| run: uv run ruff format --check ./ | |
| - name: Lint with ruff | |
| run: uv run ruff check github_rest_api/ tests/ | |
| - name: Lint with Ty | |
| run: uv run ty check | |
| - name: Analyze Dependencies | |
| run: uv run deptry . |