-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 1.35 KB
/
Copy pathsemantic-corpus.yml
File metadata and controls
49 lines (39 loc) · 1.35 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
name: Semantic corpus trends
"on":
workflow_dispatch:
schedule:
- cron: "17 6 * * 1"
permissions:
contents: read
jobs:
representative:
name: Representative corpus (informational)
runs-on: ubuntu-latest
continue-on-error: true
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24.10.0
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build checkout
run: npm run build
- name: Run representative semantic corpus
run: npm run bench:semantic -- --tier representative --mode native --mode reduced --package-mode checkout --output semantic-representative-results.json
- name: Validate informational result
run: npm run bench:semantic:summarize -- --input semantic-representative-results.json --corpus docs/benchmarks/semantic-corpus.json --json
- name: Upload representative result
if: always()
uses: actions/upload-artifact@v7
with:
name: semantic-corpus-representative-${{ github.run_id }}
path: semantic-representative-results.json
if-no-files-found: warn
retention-days: 30