Skip to content

ci: use shared build and lint workflows - #215

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

jimisola wants to merge 6 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-apply and annotation combining run via post-test-command.

Also fixes a Windows bug the new smoke job found: the annotations.yml schema header used the platform line separator while the YAML body is LF, so the file mixed line endings on Windows. The header is now LF, and test fixtures are pinned to LF via .gitattributes.

Breaking for consumers

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

Test plan

All checks green on b791239, including build/test (25), smoke on windows-latest and macos-latest, reqstool verify (pypi and main) and ci: https://github.com/reqstool/reqstool-java-annotations/actions/runs/45011055053

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
@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 5 commits November 22, 2026 09:52
The schema header used the platform line separator while Jackson wrote
the body with LF, so the file mixed line endings on Windows. Pin the
test fixtures to LF so the comparison is byte-exact on every OS.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
The PR description and commits carry the rationale.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
@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