Skip to content

Update pre-commit hook python-jsonschema/check-jsonschema to v0.37.2 … #68

Update pre-commit hook python-jsonschema/check-jsonschema to v0.37.2 …

Update pre-commit hook python-jsonschema/check-jsonschema to v0.37.2 … #68

Workflow file for this run

name: CI
permissions: {}
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
defaults:
run:
shell: bash
env:
FORCE_COLOR: 1
PY_COLORS: 1 # Recognized by the `py` package, dependency of `pytest`
CLICOLOR_FORCE: 1 # recognized by uv
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: "Install uv"
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.11.12"
enable-cache: "true"
- run: uv run pytest -v
ty:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: "Install uv"
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.11.12"
enable-cache: "true"
- run: uv run ty check
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: "Install uv"
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.11.12"
enable-cache: "true"
- run: uvx prek run --all-files