Skip to content

feat(action): Verify checksum and version after installing relune#131

Merged
mhiro2 merged 1 commit into
mainfrom
feat/action-install-checksum-verify
May 2, 2026
Merged

feat(action): Verify checksum and version after installing relune#131
mhiro2 merged 1 commit into
mainfrom
feat/action-install-checksum-verify

Conversation

@mhiro2

@mhiro2 mhiro2 commented May 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Verify the downloaded release archive against checksums.txt (SHA-256, with sha256sum/shasum fallback) before extracting
  • Run relune --version after install and assert the output matches the requested version, so a stale tool-cache or wrong archive surfaces immediately
  • Document the new failure mode in action/README.md, with an honest caveat that fetching checksums.txt from the same release URL is not a substitute for signature verification

Changes

  • b4db8e8 : feat(action): verify checksum and version after installing relune
    • Validate downloaded archive against checksums.txt, rejecting missing or duplicated entries
    • Confirm the extracted archive contains a relune binary before chmod / PATH update
    • Run relune --version post-install and fail when the output does not contain the requested version
    • Add a "Checksum mismatch" entry to the action README troubleshooting section

- Validate downloaded archive against checksums.txt (sha256, with sha256sum/shasum fallback)
- Reject missing or duplicated checksum entries
- Confirm extracted archive contains a relune binary
- Run `relune --version` post-install and assert it matches the requested version
- Document the new checksum-mismatch failure mode in action/README.md
@mhiro2 mhiro2 self-assigned this May 2, 2026
@mhiro2 mhiro2 added the enhancement New feature or request label May 2, 2026
@github-actions

github-actions Bot commented May 2, 2026

Copy link
Copy Markdown

Code Metrics Report

main (ec8eaf5) #131 (462b869) +/-
Coverage 94.8% 94.8% 0.0%
Test Execution Time 1m35s 1m26s -9s
Details
  |                     | main (ec8eaf5) | #131 (462b869) | +/-  |
  |---------------------|----------------|----------------|------|
  | Coverage            |          94.8% |          94.8% | 0.0% |
  |   Files             |             81 |             81 |    0 |
  |   Lines             |          39175 |          39175 |    0 |
  |   Covered           |          37160 |          37160 |    0 |
+ | Test Execution Time |          1m35s |          1m26s |  -9s |

Reported by octocov

@github-actions

github-actions Bot commented May 2, 2026

Copy link
Copy Markdown

Schema review

Tip

✅ No risk findings — schema changes look safe to merge.

@mhiro2
mhiro2 merged commit 1215079 into main May 2, 2026
6 checks passed
@mhiro2
mhiro2 deleted the feat/action-install-checksum-verify branch May 2, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant