mirror of
https://github.com/ruvnet/RuView
synced 2026-08-02 19:11:46 +00:00
fix: update nightly actions to Node 24 runtime
This commit is contained in:
@@ -21,7 +21,7 @@ concurrency:
|
|||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: '20'
|
NODE_VERSION: '22'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
collect:
|
collect:
|
||||||
@@ -35,18 +35,18 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- name: Collect bounded public evidence
|
- name: Collect bounded public evidence
|
||||||
run: >-
|
run: >-
|
||||||
node --disable-proto=throw .github/scripts/nightly-sota/agent.mjs collect
|
node --disable-proto=throw .github/scripts/nightly-sota/agent.mjs collect
|
||||||
--out "${RUNNER_TEMP}/nightly-sota/evidence.json"
|
--out "${RUNNER_TEMP}/nightly-sota/evidence.json"
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/evidence.json
|
path: ${{ runner.temp }}/nightly-sota/evidence.json
|
||||||
@@ -67,14 +67,14 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/collect
|
path: ${{ runner.temp }}/nightly-sota/collect
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
--repo-root "${GITHUB_WORKSPACE}"
|
--repo-root "${GITHUB_WORKSPACE}"
|
||||||
--proposal-out "${RUNNER_TEMP}/nightly-sota/propose/proposal.json"
|
--proposal-out "${RUNNER_TEMP}/nightly-sota/propose/proposal.json"
|
||||||
--receipt-out "${RUNNER_TEMP}/nightly-sota/propose/cognitum-receipt.json"
|
--receipt-out "${RUNNER_TEMP}/nightly-sota/propose/cognitum-receipt.json"
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-proposal-${{ github.run_id }}
|
name: nightly-sota-proposal-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/propose/
|
path: ${{ runner.temp }}/nightly-sota/propose/
|
||||||
@@ -102,18 +102,18 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/collect
|
path: ${{ runner.temp }}/nightly-sota/collect
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-proposal-${{ github.run_id }}
|
name: nightly-sota-proposal-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/propose
|
path: ${{ runner.temp }}/nightly-sota/propose
|
||||||
@@ -131,7 +131,7 @@ jobs:
|
|||||||
--repo-root "${GITHUB_WORKSPACE}"
|
--repo-root "${GITHUB_WORKSPACE}"
|
||||||
--score-out "${RUNNER_TEMP}/nightly-sota/score/score.json"
|
--score-out "${RUNNER_TEMP}/nightly-sota/score/score.json"
|
||||||
--replay-out "${RUNNER_TEMP}/nightly-sota/score/replay.json"
|
--replay-out "${RUNNER_TEMP}/nightly-sota/score/replay.json"
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-score-${{ github.run_id }}
|
name: nightly-sota-score-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/score/
|
path: ${{ runner.temp }}/nightly-sota/score/
|
||||||
@@ -151,22 +151,22 @@ jobs:
|
|||||||
should_implement: ${{ steps.triage.outputs.should_implement }}
|
should_implement: ${{ steps.triage.outputs.should_implement }}
|
||||||
issue_number: ${{ steps.triage.outputs.issue_number }}
|
issue_number: ${{ steps.triage.outputs.issue_number }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/collect
|
path: ${{ runner.temp }}/nightly-sota/collect
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-proposal-${{ github.run_id }}
|
name: nightly-sota-proposal-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/propose
|
path: ${{ runner.temp }}/nightly-sota/propose
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-score-${{ github.run_id }}
|
name: nightly-sota-score-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/score
|
path: ${{ runner.temp }}/nightly-sota/score
|
||||||
@@ -183,7 +183,7 @@ jobs:
|
|||||||
--replay "${RUNNER_TEMP}/nightly-sota/score/replay.json"
|
--replay "${RUNNER_TEMP}/nightly-sota/score/replay.json"
|
||||||
--repo-root "${GITHUB_WORKSPACE}"
|
--repo-root "${GITHUB_WORKSPACE}"
|
||||||
--out "${RUNNER_TEMP}/nightly-sota/issue/issue.json"
|
--out "${RUNNER_TEMP}/nightly-sota/issue/issue.json"
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-issue-${{ github.run_id }}
|
name: nightly-sota-issue-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/issue/
|
path: ${{ runner.temp }}/nightly-sota/issue/
|
||||||
@@ -199,18 +199,18 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/collect
|
path: ${{ runner.temp }}/nightly-sota/collect
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-proposal-${{ github.run_id }}
|
name: nightly-sota-proposal-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/propose
|
path: ${{ runner.temp }}/nightly-sota/propose
|
||||||
@@ -224,7 +224,7 @@ jobs:
|
|||||||
--repo-root "${GITHUB_WORKSPACE}"
|
--repo-root "${GITHUB_WORKSPACE}"
|
||||||
--bundle-out "${RUNNER_TEMP}/nightly-sota/implement/bundle.json"
|
--bundle-out "${RUNNER_TEMP}/nightly-sota/implement/bundle.json"
|
||||||
--receipt-out "${RUNNER_TEMP}/nightly-sota/implement/cognitum-receipt.json"
|
--receipt-out "${RUNNER_TEMP}/nightly-sota/implement/cognitum-receipt.json"
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-implementation-${{ github.run_id }}
|
name: nightly-sota-implementation-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/implement/
|
path: ${{ runner.temp }}/nightly-sota/implement/
|
||||||
@@ -239,26 +239,26 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/collect
|
path: ${{ runner.temp }}/nightly-sota/collect
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-proposal-${{ github.run_id }}
|
name: nightly-sota-proposal-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/propose
|
path: ${{ runner.temp }}/nightly-sota/propose
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-score-${{ github.run_id }}
|
name: nightly-sota-score-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/score
|
path: ${{ runner.temp }}/nightly-sota/score
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-implementation-${{ github.run_id }}
|
name: nightly-sota-implementation-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/implement
|
path: ${{ runner.temp }}/nightly-sota/implement
|
||||||
@@ -277,7 +277,7 @@ jobs:
|
|||||||
--implementation-receipt "${RUNNER_TEMP}/nightly-sota/implement/cognitum-receipt.json"
|
--implementation-receipt "${RUNNER_TEMP}/nightly-sota/implement/cognitum-receipt.json"
|
||||||
--repo-root "${GITHUB_WORKSPACE}"
|
--repo-root "${GITHUB_WORKSPACE}"
|
||||||
--out "${RUNNER_TEMP}/nightly-sota/validate/validation.json"
|
--out "${RUNNER_TEMP}/nightly-sota/validate/validation.json"
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-validation-${{ github.run_id }}
|
name: nightly-sota-validation-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/validate/
|
path: ${{ runner.temp }}/nightly-sota/validate/
|
||||||
@@ -295,36 +295,36 @@ jobs:
|
|||||||
issues: write # Label the draft PR and link it from the issue.
|
issues: write # Label the draft PR and link it from the issue.
|
||||||
pull-requests: write # Create a draft PR; the script has no approve or merge path.
|
pull-requests: write # Create a draft PR; the script has no approve or merge path.
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.sha }}
|
ref: ${{ github.sha }}
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
submodules: false
|
submodules: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-evidence-${{ github.run_id }}
|
name: nightly-sota-evidence-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/collect
|
path: ${{ runner.temp }}/nightly-sota/collect
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-proposal-${{ github.run_id }}
|
name: nightly-sota-proposal-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/propose
|
path: ${{ runner.temp }}/nightly-sota/propose
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-score-${{ github.run_id }}
|
name: nightly-sota-score-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/score
|
path: ${{ runner.temp }}/nightly-sota/score
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-issue-${{ github.run_id }}
|
name: nightly-sota-issue-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/issue
|
path: ${{ runner.temp }}/nightly-sota/issue
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-implementation-${{ github.run_id }}
|
name: nightly-sota-implementation-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/implement
|
path: ${{ runner.temp }}/nightly-sota/implement
|
||||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: nightly-sota-validation-${{ github.run_id }}
|
name: nightly-sota-validation-${{ github.run_id }}
|
||||||
path: ${{ runner.temp }}/nightly-sota/validate
|
path: ${{ runner.temp }}/nightly-sota/validate
|
||||||
|
|||||||
@@ -31,12 +31,12 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: harness/ruview
|
working-directory: harness/ruview
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: harness/ruview/package-lock.json
|
cache-dependency-path: harness/ruview/package-lock.json
|
||||||
- run: npm ci --ignore-scripts
|
- run: npm ci --ignore-scripts
|
||||||
@@ -59,15 +59,15 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: harness/ruview
|
working-directory: harness/ruview
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
- run: npm ci --ignore-scripts
|
- run: npm ci --ignore-scripts
|
||||||
- run: node flywheel/run.mjs --confirm
|
- run: node flywheel/run.mjs --confirm
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
with:
|
with:
|
||||||
name: untrusted-darwin-proposal-${{ github.run_id }}
|
name: untrusted-darwin-proposal-${{ github.run_id }}
|
||||||
path: harness/ruview/.metaharness/
|
path: harness/ruview/.metaharness/
|
||||||
|
|||||||
@@ -437,8 +437,13 @@ test('nightly workflow keeps model and publication authority split and is PR-tes
|
|||||||
);
|
);
|
||||||
assert.match(workflow, /\n schedule:/);
|
assert.match(workflow, /\n schedule:/);
|
||||||
assert.match(workflow, /\n workflow_dispatch:/);
|
assert.match(workflow, /\n workflow_dispatch:/);
|
||||||
|
assert.match(workflow, /\n NODE_VERSION: '22'/);
|
||||||
assert.doesNotMatch(workflow, /pull_request_target|workflow_run|\/v1\/evolve|--confirm/);
|
assert.doesNotMatch(workflow, /pull_request_target|workflow_run|\/v1\/evolve|--confirm/);
|
||||||
assert.doesNotMatch(workflow, /actions\/workflows\/ci\.yml/);
|
assert.doesNotMatch(workflow, /actions\/workflows\/ci\.yml/);
|
||||||
|
assert.doesNotMatch(
|
||||||
|
workflow,
|
||||||
|
/11d5960a326750d5838078e36cf38b85af677262|49933ea5288caeca8642d1e84afbd3f7d6820020|ea165f8d65b6e75b540449e92b4886f43607fa02|d3f86a106a0bac45b974a628896c90dbdf5c8093/,
|
||||||
|
);
|
||||||
for (const match of workflow.matchAll(/^\s*-\s+uses:\s*[^@\s]+@([^\s#]+)/gm)) {
|
for (const match of workflow.matchAll(/^\s*-\s+uses:\s*[^@\s]+@([^\s#]+)/gm)) {
|
||||||
assert.match(match[1], /^[a-f0-9]{40}$/);
|
assert.match(match[1], /^[a-f0-9]{40}$/);
|
||||||
}
|
}
|
||||||
@@ -456,6 +461,7 @@ test('nightly workflow keeps model and publication authority split and is PR-tes
|
|||||||
const verifier = await readFile(path.join(repoRoot, '.github/workflows/ruview-harness-flywheel.yml'), 'utf8');
|
const verifier = await readFile(path.join(repoRoot, '.github/workflows/ruview-harness-flywheel.yml'), 'utf8');
|
||||||
assert.match(verifier, /\.github\/scripts\/nightly-sota\/\*\*/);
|
assert.match(verifier, /\.github\/scripts\/nightly-sota\/\*\*/);
|
||||||
assert.match(verifier, /\.github\/workflows\/nightly-sota-agent\.yml/);
|
assert.match(verifier, /\.github\/workflows\/nightly-sota-agent\.yml/);
|
||||||
|
assert.match(verifier, /node-version: 22/);
|
||||||
const agentSource = await readFile(path.join(repoRoot, '.github/scripts/nightly-sota/agent.mjs'), 'utf8');
|
const agentSource = await readFile(path.join(repoRoot, '.github/scripts/nightly-sota/agent.mjs'), 'utf8');
|
||||||
assert.doesNotMatch(agentSource, /actions\/workflows\/ci\.yml/);
|
assert.doesNotMatch(agentSource, /actions\/workflows\/ci\.yml/);
|
||||||
assert.match(agentSource, /actions\/workflows\/ruview-harness-flywheel\.yml/);
|
assert.match(agentSource, /actions\/workflows\/ruview-harness-flywheel\.yml/);
|
||||||
|
|||||||
Reference in New Issue
Block a user