• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

valkyrjaio / project-template-java / 30326815375
100%

Build:
DEFAULT BRANCH: 26.x
Ran 28 Jul 2026 03:46AM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2026 03:45AM UTC coverage: 100.0%. First build
30326815375

push

github

web-flow
[Template] Add the TemplateInfo constant class and use the Java release workflows (#23)

# Description

Of the five `project-template-*` repos, this is the only one that calls
the
**generic** `_create-release.yml` and `_create-version-branch.yml`
rather than its
language-specific pair, and the only one with no outdated-dependency
gate on
version-branch creation:

| Template | create-version-branch | release-new-version | deps gate |
info class |
|---|---|---|---|---|
| php | `_php-*` | `_php-*` | yes | yes (as `Constant.php`) |
| **java** | **generic** | **generic** | **no** | **none** |
| ts | `_ts-*` | `_ts-*` | yes | yes |
| python | `_python-*` | `_python-*` | yes | yes |
| go | `_go-*` | `_go-*` | yes | yes |

The cause is a chain: `_java-create-release.yml` declares
`info-class-path` as
`required: true`, this repo has no info class
(`src/main/java/io/valkyrja/template/`
held only a `.gitkeep`), so it could not call the Java workflow and fell
back to the
generic one. The generic release skips the info-file update *and* the
outdated-dependency check, and `create-version-branch.yml` lost the
dependency gate
along with it — even though `_java-create-version-branch.yml` needs only
`dependencies` and would have worked all along.

So this adds the missing piece and switches both callers over.

`TemplateInfo` follows the naming already used across the project —
`valkyrja-java`'s `ApplicationInfo`, `sindri-java`'s `SindriInfo`, and
the
`TemplateInfo` equivalents in the TypeScript, Python and Go templates.
It is kept
deliberately minimal: version, build datetime, private constructor. No
ASCII banner
— that is framework branding, and the other templates do not carry one.

The test mirrors the Go and Python templates, which both cover their
info class, and
is the first test in this repo's JUnit CI build.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [X] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New fe... (continued)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30326815375.1 28 Jul 2026 03:46AM UTC 1
100.0
GitHub Action Run
Source Files on build 30326815375
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30326815375
  • 80ecabcc on github
  • Next Build on 26.x (#30330127378)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc