Home

Awesome

Inga Action

GitHub Actions for Inga.

Inputs

NameRequirementDescription
languagerequiredLanguages to be analyzed. ("java" or "typescript")
root-pathoptionalRelative path of the project to be analyzed, so if you do not give this option, it defaults to the command execute path.
excludeoptionalFilenames of glob pattern matching to exclude from analysis. (e.g. "**/*.test.(ts|tsx)")

Example

name: Inga Analysis

on:
  pull_request:

jobs:
  inga-analysis:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
        # https://github.com/actions/checkout/issues/124
        ref: ${{ github.event.pull_request.head.ref }}
    - uses: seachicken/inga-action@main
      with:
        language: "java"
        exclude: "src/test/**"