Skip to content

ci: use shared build and lint workflows - #227

Open
jimisola wants to merge 7 commits into
mainfrom
ci/385-shared-build
Open

jimisola wants to merge 7 commits into
mainfrom
ci/385-shared-build

Conversation

@jimisola

@jimisola jimisola commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Requested by Jimisola · project thread

Summary

Replaces the inline build/lint workflows with callers of the shared reqstool/.github workflows (reqstool/.github#385, PR #386): jobs lint, build, reqstool, smoke (Windows/macOS), validate-openspec and a ci aggregator. CI JDK and compile target are both Java 25 (latest LTS); release.yml still calls build.yml (same ref/artifact-name inputs). Self-applying the plugin runs via post-test-command.

Also fixes Windows bugs the new smoke job found: the combined annotations.yml header used the platform line separator (now LF, test fixtures pinned to LF via .gitattributes), and testAssembleZipArtifact turned a resource URL into an invalid Windows path (now resolved through its URI).

Breaking for consumers

The compile target moves from 21 to 25 (maven.compiler.release), so the plugin now needs Java 25 or newer to run. Decided by Jimisola: CI, plugins and annotations always track the latest LTS.

Test plan

All checks green on 26ee21d, including build/test (25), smoke on windows-latest and macos-latest, reqstool verify (pypi and main) and ci: https://github.com/reqstool/reqstool-java-maven-plugin/actions/runs/45011056323

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM

@jimisola jimisola self-assigned this Nov 22, 2026
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/build.yml Fixed
jimisola and others added 6 commits November 22, 2026 09:52
Write the annotations header with LF like the YAML body, pin test
fixtures to LF, and resolve the zip resource through its URI instead of
a URL path (invalid on Windows).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <[email protected]>
Compile target now equals the CI JDK. Consumers need Java 25 or newer
to run the plugin or processor.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <[email protected]>
Pin to 193abb8e7ad36805d5fe7695f8fa5e0a4b6f8da7 (# 1.3.0). The 1.3.0 tag is pending; Renovate resolves it once it exists.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <[email protected]>
The PR description and commits carry the rationale.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <[email protected]>
@jimisola
jimisola marked this pull request as ready for review November 23, 2026 09:34

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants