Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/client-v1-conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ github.sha }}
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
Expand Down
8 changes: 8 additions & 0 deletions src/specification-guards.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@ describe('Phase 1 specification guards', () => {
expect(webJob).toContain('- run: pnpm test:unit');
});

it('fetches the locked harness revision for protected platform evidence', () => {
const workflow = readText('.github/workflows/client-v1-conformance.yml');

expect(workflow).toMatch(
/actions\/checkout@[0-9a-f]{40}\n {8}with:\n {10}fetch-depth: 0\n {10}persist-credentials: false\n {10}ref: \$\{\{ github\.sha \}\}/u,
);
});
Comment on lines +355 to +361

it('uses a POSIX shell fixture without exposing Node internal descriptors to status forgery', () => {
const testSource = readText('src/phase1-conformance.test.ts');
const start = testSource.indexOf(
Expand Down
Loading