Repository navigation
50 lines (46 loc) · 1.62 KB
/
Copy pathplugin-matrix.yml
File metadata and controls
50 lines (46 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Plugin compatibility
# Regenerates the plugin compatibility matrix (docs/evals/plugin-compatibility.md):
# the most-downloaded pi packages and DSH plugins on npm, each installed and
# loaded unchanged through yoagent-rutis's adapters by
# scripts/ecosystem-matrix.mjs. Loading a third-party package runs its code,
# so this runs on a throwaway runner with no secrets and a read-only token.
# The report is uploaded as an artifact; committing it is a person's call.
on:
workflow_dispatch:
inputs:
top:
description: "Packages per ecosystem"
default: "20"
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
matrix:
name: pi and DSH plugins
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
with:
# The packages' code runs in this job: no token left in .git/config.
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: integrations/yoagent-rutis
- uses: actions/setup-node@v4
with:
node-version: 24
- name: Install the adapters' runtimes
run: |
npm ci --prefix integrations/yoagent-rutis/plugins/pi
npm ci --prefix integrations/yoagent-rutis/plugins/dsh
- name: Run the matrix
env:
TOP: ${{ inputs.top }}
run: node scripts/ecosystem-matrix.mjs --top "$TOP" --out "$RUNNER_TEMP/matrix/plugin-compatibility.md"
- uses: actions/upload-artifact@v4
with:
name: plugin-compatibility
path: ${{ runner.temp }}/matrix/