Skip to content

fix: preserve user-set names on subcharts in concat #124

fix: preserve user-set names on subcharts in concat

fix: preserve user-set names on subcharts in concat #124

Workflow file for this run

name: Code checks
on:
push:
branches:
- main
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
name: Check linting, formatting, types, and lockfile
steps:
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version: "3.12"
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: |
**/uv.lock
**/pyproject.toml
- name: Check uv lockfile
run: |
uv lock
if ! git diff --quiet -- uv.lock; then
git diff -- uv.lock
echo
echo "uv.lock is out of date. Run 'uv lock' and commit the updated uv.lock."
exit 1
fi
# Installing all dependencies and not just the linters as mypy needs them for type checking
- name: Install dependencies
run: uv sync --all-extras
- name: ruff check (lint)
run: |
uv run ruff check
- name: ruff format
run: |
uv run ruff format --check --diff
- name: mypy (type check)
run: |
uv run mypy altair tests
- name: ty (type check)
run: |
uv run ty check