chore(deps): bump astral-sh/setup-uv from 3 to 4 in the actions group #21
Workflow file for this run
This file contains 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, Format, and Type Check | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '.github/workflows/lint-and-type-check.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
- '.github/workflows/lint-and-type-check.yml' | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install uv | |
id: setup-uv | |
uses: astral-sh/setup-uv@v4 | |
- name: Install the project | |
run: uv sync --python 3.12 | |
- name: Run mypy | |
run: uv run mypy . | |
- name: Run ruff lint | |
run: uv run ruff check . | |
- name: Run ruff format | |
run: uv run ruff format --check . |