Skip to content

A Github Action that runs IntelliJ in a headless mode and runs the configured inspections.

License

Notifications You must be signed in to change notification settings

mridang/action-idea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliJ Inspector

This action runs IntelliJ inspections on your codebase.

Parameters

Parameter Type Default Description
target string The directory to be inspected.
profile string The absolute path to the profile file.
output string The absolute path to spew outputs to
verbosity string v2 The verbose level. v0 - silent, v1 - verbose, v2 - most verbose.
scope string The inspection scope to be used. If none, all files are inspected.
noinspect string noop A comma-delimited list of inspection output files to be skipped.
plugins string A comma-delimited list of plugins to be installed

Usage

jobs:
  inspect:
    runs-on: ubuntu-latest

    steps:
    - name: Run IntelliJ
      uses: mridang/action-idea@master
      with:
        target: .
        profile: ./.idea/inspectionProfiles/Project_Default.xml
        output: ./output
        verbosity: v2
        scope: Inspection
        plugins: 1347

License

The MIT License (MIT)

Copyright (c) 2020 Mridang Agarwalla