Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feat: improve Winget manifest validation#89

Merged
rianjs merged 1 commit intomainfrom
feat/winget-validation-improvements
Jan 17, 2026
Merged

feat: improve Winget manifest validation#89
rianjs merged 1 commit intomainfrom
feat/winget-validation-improvements

Conversation

@rianjs
Copy link
Collaborator

@rianjs rianjs commented Jan 17, 2026

Summary

Improves Winget manifest validation based on microsoft/winget-pkgs PR checklist requirements.

Changes

1. Update schema version from 1.6.0 → 1.10.0

All manifest templates now use the latest schema version as recommended by microsoft/winget-pkgs.

2. Test workflow validates actual templates

Instead of hardcoded test manifests, test-winget.yml now:

  • Reads actual template files from packaging/winget/
  • Substitutes version and checksum placeholders
  • Validates the result with winget validate

This ensures template changes are validated before merge.

3. Add validation before submit

Both winget-publish.yml and release.yml now run winget validate --manifest before submitting to catch issues early.

Files Changed

File Change
packaging/winget/*.yaml Update ManifestVersion to 1.10.0
.github/workflows/test-winget.yml Use actual templates
.github/workflows/winget-publish.yml Add validation step
.github/workflows/release.yml Add validation step
packaging/winget/README.md Update schema version refs

Follow-up to #77

- Update schema version from 1.6.0 to 1.10.0
- Test workflow now validates actual templates instead of hardcoded manifests
- Add winget validate step before submitting in publish workflows

Follow-up to #77
@rianjs rianjs merged commit 92bb6f0 into main Jan 17, 2026
4 checks passed
@rianjs rianjs deleted the feat/winget-validation-improvements branch January 17, 2026 13:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant