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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
install: "true"
- name: Run shard ${{ matrix.shard }}/4
run: node scripts/run-tests.mjs --shard ${{ matrix.shard }}/4 --json shard-22-${{ matrix.shard }}.json
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: always()
with:
name: test-shard-22-${{ matrix.shard }}
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
with:
node-version: 22
install: "false"
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
pattern: test-shard-*
path: shards
Expand All @@ -182,7 +182,7 @@ jobs:
- uses: foundry-rs/foundry-toolchain@dba66c27052e63476d886f22216e119ba7e615bf # v1
with:
version: stable
- uses: actions/cache@v4
- uses: actions/cache@v6
with:
path: |
~/.foundry/cache
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
- name: Deploy material identity (sha256, printed for the run log)
run: sha256sum soroban/commitment-anchor/target/wasm32-unknown-unknown/release/cg_commitment_anchor.wasm
- name: Upload deploy material
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: cg-commitment-anchor-wasm
path: soroban/commitment-anchor/target/wasm32-unknown-unknown/release/cg_commitment_anchor.wasm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
with:
fetch-depth: 1
persist-credentials: false
- uses: github/codeql-action/init@74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6 # v3
- uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5
with:
languages: ${{ matrix.language }}
build-mode: none
queries: security-and-quality
- uses: github/codeql-action/analyze@74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6 # v3
- uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5
with:
category: "/language:${{ matrix.language }}"
2 changes: 1 addition & 1 deletion .github/workflows/dde.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
# a green-shaped run whose reports silently went missing — evidence is
# fail-closed, not best-effort.
- name: Upload runner reports (SDK + wire) as run artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dde-runner-reports
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fi
- name: Dependency review (high and above)
if: steps.graph.outputs.enabled == 'true'
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1
with:
fail-on-severity: high
comment-summary-in-pr: always
6 changes: 3 additions & 3 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
fetch-depth: 1
persist-credentials: false
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: docs
deploy:
Expand All @@ -61,7 +61,7 @@ jobs:
fetch-depth: 1
persist-credentials: false
- id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
- name: Post-deploy smoke (live URL)
run: node scripts/smoke-pages.mjs "${{ steps.deployment.outputs.page_url }}"
- name: Summary
Expand Down
5 changes: 4 additions & 1 deletion test/ci/workflow-yaml-contract.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ test("dde artifact contract negative controls: each mutation applies AND bites,
// newline-terminated `from` needles would silently never apply — a
// control that never lands is a control that proves nothing.
const raw = readFileSync(join(REPO, ".github/workflows/dde.yml"), "utf8").replaceAll("\r\n", "\n");
// Derive the pin from the live workflow so a major bump cannot silently
// retire this control: a stale hard-coded needle would never apply.
const uploader = raw.match(/actions\/upload-artifact@v\d+/)?.[0];
const cases = [
{
label: "retention silently drifts off 30",
Expand Down Expand Up @@ -368,7 +371,7 @@ test("dde artifact contract negative controls: each mutation applies AND bites,
},
{
label: "the uploader loses its version pin",
from: "actions/upload-artifact@v4",
from: uploader,
to: "actions/upload-artifact",
expect: /exactly one artifact-upload step/,
},
Expand Down
Loading