Files
stack/.gitea/workflows/ci.yml
kert c1e2ac6eaa
Some checks failed
Deploy / build (push) Failing after 9s
Deploy / scan (push) Has been skipped
Deploy / report-vulns (push) Has been skipped
CI / lint-test (push) Failing after 1m22s
fix gitea backend: install uv via shell, not setup-uv action
astral-sh/setup-uv composite action makes internal API calls
that Gitea resolves against localhost, failing because astral-sh
isn't a local user. Use the official install script instead:
  curl -LsSf https://astral.sh/uv/install.sh | sh
2026-03-23 21:38:20 -04:00

37 lines
902 B
YAML

# DO NOT EDIT — generated by gen_config.py from stack.toml
# Re-generate: uv run python dev/scripts/gen_config.py
name: CI
on:
push:
branches: ["**"]
pull_request:
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
env:
UV_INSTALL_DIR: /usr/local/bin
- name: Install dependencies
run: uv sync --dev
- name: Ruff check
run: uv run ruff check src/ tests/ --output-format=concise
- name: Ruff format
run: uv run ruff format --check src/ tests/
- name: Pytest
run: uv run pytest tests/ --cov=src --cov-report=term-missing --cov-fail-under=99 -q
- name: Validate generated config
run: uv run python dev/scripts/gen_config.py --check