30 lines
793 B
YAML
30 lines
793 B
YAML
name: Set up `velofy`
|
|
description: Install R, `uv`, and `velofy` with its dependencies
|
|
|
|
|
|
runs:
|
|
using: composite
|
|
|
|
steps:
|
|
|
|
- name: Install R via system packages
|
|
shell: bash
|
|
run: |
|
|
apt-get update
|
|
apt-get install --no-install-recommends \
|
|
r-base-dev \
|
|
r-cran-forecast \
|
|
r-cran-zoo \
|
|
-y
|
|
|
|
# Same `uv` version as pinned in pyproject.toml
|
|
- name: Install `uv` and `python3.14`
|
|
shell: bash
|
|
run: |
|
|
curl -LsSf https://astral.sh/uv/0.13.10/install.sh | sh
|
|
echo "$HOME/.local/bin" >> "$FORGEJO_PATH"
|
|
"$HOME/.local/bin/uv" python install 3.14
|
|
|
|
- name: Install `velofy` and its dependencies
|
|
shell: bash
|
|
run: '"$HOME/.local/bin/uv" sync --locked'
|