Skip to content

chore(build): update copyright headers and pre-commit hook #1736 #24

chore(build): update copyright headers and pre-commit hook #1736

chore(build): update copyright headers and pre-commit hook #1736 #24

Workflow file for this run

name: Python Checks
on:
pull_request:
paths:
- 'py/**'
jobs:
python-checks:
runs-on: ubuntu-latest
env:
PATH: ${{ github.workspace }}/go/bin:${{ github.workspace }}/.cargo/bin:${{ github.workspace }}/.local/share/pnpm:${{ github.workspace }}/.local/bin:${{ env.PATH }}

Check failure on line 12 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / Python Checks

Invalid workflow file

The workflow is not valid. .github/workflows/python.yml (Line: 12, Col: 13): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PATH
strategy:
matrix:
python-version:
- "3.12"
- "3.13"
defaults:
run:
working-directory: py
steps:
- uses: actions/checkout@v4
- name: Pre-requisites
run: bin/setup -a ci
- name: Install uv and setup Python version
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Format check
run: uv run ruff format --check .
- name: Lint with ruff
run: uv run ruff check .
- name: Run tests
run: uv run pytest .
- name: Build documentation
run: uv run mkdocs build --strict
- name: Build distributions
run: ./bin/build_dists