Skip to content

Checkstyle-action is failing #39

@iamwatchdogs

Description

@iamwatchdogs

The workflow used to work properly, but as of today, it has stopped working. There are many exceptions raised while trying to process the files.

Steps To Recreate this Error

  • Make a typical workflow using nikitasavinov/checkstyle-action@0.6.0 GitHub Action. Here's my workflow:

    name: java-linter
    
    on:
      pull_request:
        branches: [main]
        paths: ['**.java']
      workflow_call:
        
    jobs:
      java-linter:
        runs-on: ubuntu-latest
        steps:
          - name: Check out code
            uses: actions/checkout@v4.1.0
          - name: Run check style
            uses: nikitasavinov/checkstyle-action@0.6.0
            with:
              level: warning
              fail_on_error: true
  • Make a pull request with Java source code with valid syntax and formatting.

  • When you check the running action, you can the following error output:

    Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions