diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 45d6d424d..f318c52d9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -29,7 +29,9 @@ jobs: with: components: llvm-tools-preview - - uses: taiki-e/install-action@e891bb389537b38fb955c19833f884ca3188a61d # cargo-llvm-cov + - uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # cargo-llvm-cov + with: + tool: cargo-llvm-cov - name: Generate coverage run: | @@ -56,7 +58,7 @@ jobs: - name: Upload coverage to Codecov if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v6.0.2 + uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: files: lcov.info flags: rust diff --git a/.github/workflows/npm-package-qualification.yml b/.github/workflows/npm-package-qualification.yml index 9070a36c4..ec2c46155 100644 --- a/.github/workflows/npm-package-qualification.yml +++ b/.github/workflows/npm-package-qualification.yml @@ -108,7 +108,7 @@ jobs: env: NPM_VERSION: ${{ matrix.npm }} run: npm install --global --ignore-scripts "npm@$NPM_VERSION" - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: name: npm-prepared-${{ github.run_id }}-${{ github.run_attempt }} path: evidence @@ -149,7 +149,7 @@ jobs: package-manager-cache: false - name: Select exact staging client run: npm install --global --ignore-scripts npm@11.15.0 - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: name: npm-prepared-${{ github.run_id }}-${{ github.run_attempt }} path: evidence diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 4e5d06b18..546832e8f 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -141,7 +141,7 @@ jobs: npm install --global --ignore-scripts --registry=https://registry.npmjs.org npm@11.15.0 test "$(node --version)" = v24.19.0 test "$(npm --version)" = 11.15.0 - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: artifact-ids: ${{ needs.admission.outputs.artifact_id }} path: dist @@ -199,7 +199,7 @@ jobs: with: ref: ${{ github.sha }} persist-credentials: false - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: artifact-ids: ${{ needs.stage.outputs.result_artifact_id }} path: response diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 74a68b834..6e831eac2 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -77,7 +77,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: python3 .github/scripts/pypi_admission.py authorize - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: artifact-ids: ${{ steps.authorize.outputs.artifact_id }} run-id: ${{ inputs.qualification_run_id }} @@ -116,7 +116,7 @@ jobs: id-token: write steps: # Deliberately no checkout, pip install, build, or package execution here. - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: artifact-ids: ${{ needs.admission.outputs.artifact_id }} path: dist diff --git a/.github/workflows/python-wheel-qualification.yml b/.github/workflows/python-wheel-qualification.yml index 84c45969b..cef744643 100644 --- a/.github/workflows/python-wheel-qualification.yml +++ b/.github/workflows/python-wheel-qualification.yml @@ -496,7 +496,7 @@ jobs: echo "::error::Qualification cannot reuse a build from another attempt. Select Re-run all jobs, not Re-run failed jobs." exit 1 fi - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: name: pypi-qualified-wheel-${{ github.run_id }}-${{ github.run_attempt }} path: evidence diff --git a/.github/workflows/routed-rust.yml b/.github/workflows/routed-rust.yml index 7b967d2ee..7d5077006 100644 --- a/.github/workflows/routed-rust.yml +++ b/.github/workflows/routed-rust.yml @@ -281,7 +281,7 @@ jobs: --repository "$REPOSITORY" \ --workflow "$WORKFLOW" - name: Install nextest - uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2 + uses: taiki-e/install-action@8cca0918f8471c33515202b73f56ab27f2bed283 # v2 with: tool: nextest # Each planned command records its own terminal state before its exit code @@ -626,7 +626,7 @@ jobs: id: evidence_download if: always() continue-on-error: true - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: name: ripr-routed-rust-evidence-${{ github.run_id }}-${{ github.run_attempt }} path: target/ripr/reports/ diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index e1b079d42..f3930d06d 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -18,7 +18,9 @@ jobs: - uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable - - uses: taiki-e/install-action@718993db25d12d67fe704d6aa97369e03d3803c8 # cargo-deny + - uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # cargo-deny + with: + tool: cargo-deny - run: cargo-deny check advisories licenses bans sources diff --git a/.github/workflows/server-archive-qualification.yml b/.github/workflows/server-archive-qualification.yml index a26d8dce8..2c812af70 100644 --- a/.github/workflows/server-archive-qualification.yml +++ b/.github/workflows/server-archive-qualification.yml @@ -289,7 +289,7 @@ jobs: with: toolchain: stable - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: pattern: ripr-server-qualification-* path: dist diff --git a/.github/workflows/source-promotion-admission.yml b/.github/workflows/source-promotion-admission.yml index 3d7ffe357..2db95851f 100644 --- a/.github/workflows/source-promotion-admission.yml +++ b/.github/workflows/source-promotion-admission.yml @@ -259,7 +259,7 @@ jobs: - name: Download pre-enforcement evidence into a fresh runner-owned root if: always() - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: name: ${{ steps.initialize.outputs.artifact_name }} path: ${{ runner.temp }}/ripr-source-promotion-admission/downloaded diff --git a/.github/workflows/test-analytics.yml b/.github/workflows/test-analytics.yml index fb79f8282..138a6a22d 100644 --- a/.github/workflows/test-analytics.yml +++ b/.github/workflows/test-analytics.yml @@ -33,7 +33,9 @@ jobs: shared-key: ripr-test-analytics-${{ runner.os }} save-if: ${{ github.ref == 'refs/heads/main' }} - - uses: taiki-e/install-action@040ce91a9a9db140750a142d8c3e66f94ce198bd # nextest + - uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # nextest + with: + tool: nextest - name: Run Rust tests with JUnit output run: cargo nextest run --workspace --all-features --profile ci @@ -52,7 +54,7 @@ jobs: - name: Upload test results to Codecov if: ${{ !cancelled() && env.CODECOV_TOKEN != '' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) }} - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v6.0.2 + uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: files: target/nextest/ci/junit.xml report_type: test_results diff --git a/CHANGELOG.md b/CHANGELOG.md index 54c1caed8..9e7b119be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -193,6 +193,12 @@ qualification and publication histories. preparation receipt; rejection retains diagnostics without successful files. This does not attest, verify provenance, authorize uploads or close #1502. +- Update pinned Actions for package artifact retrieval and coverage reporting, + including artifact download retries and Codecov verification-key import + handling. Keep generic tool installers explicit (`cargo-deny`, `cargo-llvm-cov` + and `nextest`) and align exact artifact-pin contract checks with the selected + download action (#1891). + ### Release coordination - Require identity-bound native v2 acceptance for current source-promotion diff --git a/xtask/src/tests.rs b/xtask/src/tests.rs index 1e758291e..667cf9b00 100644 --- a/xtask/src/tests.rs +++ b/xtask/src/tests.rs @@ -10389,7 +10389,7 @@ fn server_archive_qualification_workflow_is_sha_bound_and_credential_free() -> R .count() != 2 || candidate - .matches("actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c") + .matches("actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333") .count() != 1 || candidate.contains("release-upload-assets") diff --git a/xtask/tests/source_promotion_workflow_contract.rs b/xtask/tests/source_promotion_workflow_contract.rs index 65541cde0..a0047252d 100644 --- a/xtask/tests/source_promotion_workflow_contract.rs +++ b/xtask/tests/source_promotion_workflow_contract.rs @@ -304,7 +304,7 @@ fn validate_admission_workflow_contract(workflow: &str) -> Result<(), String> { "if: always() && steps.enforce.outcome == 'success'", "--admission-packet \"$ADMISSION_ROOT/downloaded/workflow-packet\"", "--out \"$ADMISSION_FINAL_EVIDENCE\"", - "actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8", + "actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8", "sha256sum --check transport-index.sha256", "diff --recursive --no-dereference \"$ADMISSION_OUT\" \"$downloaded\"", "test \"$TRUSTED_CHECKER_IDENTITY\" = \"source-owned-xtask@$WORKFLOW_SOURCE_SHA\"",