diff --git a/.gitea/workflows/traceability-check.yml b/.gitea/workflows/traceability-check.yml index f71a8a6..6456fb6 100644 --- a/.gitea/workflows/traceability-check.yml +++ b/.gitea/workflows/traceability-check.yml @@ -7,7 +7,8 @@ name: Traceability Validation # prefixes count, which file suffixes are source, which directories to scan, # the threshold - lives in traceability.toml at the repo root, and the same # extractor is shared by all three JRay components. Copying this file into -# another component needs no edits. +# another component needs no edits - including the container image below, which +# is a stock public one and names nothing about this repo. # # NOTE: the runner here is an Intel N100 with no discrete GPU. This job is only # ever static analysis of source comments plus markdown parsing, so it is cheap; @@ -31,6 +32,20 @@ jobs: runs-on: linux/amd64 name: Check requirement traces + # Gitea's act_runner executes JS actions - actions/checkout and + # upload-artifact are both JS - with the `node` binary found INSIDE the job + # container, not one it supplies. The runner's default image has none, so + # without this block the job dies at "Cannot find: node in PATH" before the + # repository is even checked out, and every later step fails on a missing + # working tree rather than on anything it was meant to check. + # + # node:20-bookworm rather than a Python image because node is the part that + # cannot be worked around: bookworm's python3 is 3.11, which has tomllib and + # is therefore already everything the stdlib-only extractor needs. Debian 12 + # also carries the git the pull_request diff step below shells out to. + container: + image: node:20-bookworm + steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.gitmodules b/.gitmodules index c526030..49617a7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,4 +4,4 @@ branch = master [submodule "jray-project"] path = scripts/vendor/jray-project - url = git@gitea.tourolle.paris:dtourolle/jray-project.git + url = https://gitea.tourolle.paris/dtourolle/jray-project.git