Skip to content

ADFA-5253 | Persist model URI instead of copying multi-GB models #168

ADFA-5253 | Persist model URI instead of copying multi-GB models

ADFA-5253 | Persist model URI instead of copying multi-GB models #168

Workflow file for this run

name: Check toolchain
# Fails a pull request that drifts off the standard plugin toolchain
# (ADFA-4907). The standard itself lives in scripts/check-toolchain.sh — it is
# deliberately not restated here, so there is only one copy of the numbers.
#
# This is the only workflow here that runs automatically on pull requests.
# "Build plugin artifacts" and "Update libs from CodeOnTheGo" are both
# workflow_dispatch-only, which is why toolchain drift previously reached
# main with no CI signal at all.
#
# It is pure text inspection — no JDK, no Gradle, no network — so it costs a
# few seconds and is safe to make a required check.
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
check-toolchain:
name: Toolchain versions
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check toolchain versions
run: ./scripts/check-toolchain.sh
- name: Report declared versions
# Runs even when the check above fails, so the run summary shows what
# every module actually declares next to the failure list.
if: always()
run: |
{
echo '### Declared toolchain versions'
echo
echo '```'
./scripts/check-toolchain.sh --list
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Test the addons tool
run: uv run --directory tools/addons pytest -q
- name: Check addon names and metadata
run: uv run --directory tools/addons addons --root "$GITHUB_WORKSPACE" check