v0.1.2 #6
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: Checks | |
on: | |
pull_request: | |
types: | |
# default events to trigger actions | |
# ref: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request | |
- opened | |
- synchronize | |
- reopened | |
# additional events to trigger actions | |
- labeled | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "0.6.10" | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: ".python-version" | |
- name: Install dependencies | |
run: uv pip install --group dev | |
env: | |
UV_SYSTEM_PYTHON: 1 | |
- name: Ruff Check (linting) | |
run: ruff check --output-format=github . | |
- name: Ruff Format (formatting) | |
run: ruff format . --check |