Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

sportalliance/publish-checkstyle-report

 
 

Repository files navigation

Publish Checkstyle Report

Build status License Version

An action that displays Checkstyle errors as inline code annotations.

Example error screenshot

Usage

After the workflow step that runs Checkstyle and produces the report XML files, add this action:

- name: Publish Checkstyle report
  uses: Juuxel/publish-checkstyle-report@v1
  if: ${{ failure() || success() }}
  with:
    # required: The glob paths to report XML files as a multiline string
    # The format below works for the Gradle Checkstyle plugin with default configurations
    reports: |
      build/reports/checkstyle/*.xml

You can replace failure() || success() with just failure() if you only want the annotations to appear when the build has failed.

About

An action that displays Checkstyle errors as inline code annotations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%