Skip to content

Add the validate.yml PR workflow for changed ckans - #5

Open
Maximilian-Nesslauer wants to merge 1 commit into
mainfrom
add-validate-workflow
Open

Add the validate.yml PR workflow for changed ckans#5
Maximilian-Nesslauer wants to merge 1 commit into
mainfrom
add-validate-workflow

Conversation

@Maximilian-Nesslauer

Copy link
Copy Markdown
Member

What

Adds .github/workflows/validate.yml, validating changed .ckan files with the CKAN metadata tester, the same PR/push check KSP-CKAN/KSP2-CKAN-meta and KSP-CKAN/CKAN-meta run.
The file mirrors KSP2-CKAN-meta's validate.yml; the only deltas are a one-line header comment and game: KSA.

Sequencing / expected red check

The kspckan/metadata image is built from upstream KSP-CKAN/CKAN and rejects --game KSA until the KSA client support is merged there, so the Validate check (including on this PR itself) fails until that deploy.
This is the same gate documented in #4 and in the KSA-NetKAN workflow issue (KSAModding/KSA-NetKAN#2); merging before the gate lifts is fine, the check starts passing after the upstream deploy.

Closes #4.

- Mirror KSP-CKAN/KSP2-CKAN-meta's validate.yml: run the xKAN-meta_testing action (game KSA, source commits) on pushes to main and on PRs, with the download cache step.
- Runs fail until KSA client support is merged into upstream KSP-CKAN/CKAN, because the action executes the upstream-built kspckan/metadata image, which rejects --game KSA until then.

Closes #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Blocked

Development

Successfully merging this pull request may close these issues.

Add the validate.yml PR workflow for changed ckans

1 participant