ci: make both workflows able to run at all #1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user