Skip to content

DevNines/maconomy-java-check

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maconomy Java Check

Marketplace

A GitHub Action that compile-checks Java 8 sources against a curated bundle of libraries and writes every javac diagnostic as a PR annotation on the offending line.

Use of this action requires a valid API key issued by DevNines.

Usage

name: Java Check
on: [pull_request]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: DevNines/maconomy-java-check@v1
        with:
          api-key:     ${{ secrets.JAVA_CHECK_API_KEY }}
          source-path: src/main/java
          fail-on:     error

A complete copy-paste workflow is in examples/javacheck.yml.

Inputs

Name Required Default Description
api-key yes Bearer token issued by your JavaCheck operator. Store as a repo secret (recommended name: JAVA_CHECK_API_KEY).
source-path no . Directory whose .java files should be checked. Adjust to your layout (src/main/java, src, etc.).
fail-on no error Severity threshold that fails the step. One of info, warning, error.
api-url no (set by the action) Override only if your operator has provisioned a non-default endpoint for you.
timeout-seconds no 300 Max time to wait for the job to terminate.

Outputs

Name Description
job-id The analysis job ID, useful for log correlation.
findings-count Total findings returned (compile + analysis combined).
status success, failed, or timeout.

Pinning

For reproducibility, pin to a release tag:

- uses: DevNines/maconomy-java-check@v1.0.0

@v1 tracks the latest v1.x.y. @main always pulls tip — convenient for early adoption, less reproducible.

License

Proprietary — see LICENSE. Use requires a valid API key issued by DevNines. Redistribution, forking for a competing service, and reverse-engineering are not permitted without prior written consent.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors