Skip to content

chore(deps): lock file maintenance (#1995) #5283

chore(deps): lock file maintenance (#1995)

chore(deps): lock file maintenance (#1995) #5283

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
if: ${{ always() && github.event_name == 'pull_request' }}
needs:
- linkcheck
- pre-commit
- pytest
runs-on: ubuntu-24.04
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
with:
jobs: ${{ toJSON(needs) }}
linkcheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
check-latest: true
cache: npm
- run: npm install --ignore-scripts
working-directory: docs
- run: npm run build
working-directory: docs
- uses: untitaker/hyperlink@fb5bb9c5011a3d143a54b4b30aedc30ec5bc0f89 # 0.2.0
with:
args: docs/_site/
pre-commit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: false
- run: uv tool run --exclude-newer '3 days' --no-cache --python 3.14 prek run --all-files --show-diff-on-failure
env:
RUFF_OUTPUT_FORMAT: github
pytest:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version:
- "3.10"
- "3.14"
fail-fast: false
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
- run: uv run --locked --python ${{ matrix.python-version }} pytest