riege / code-quality

Linter configurations and Github Action workflow for super-linter
Universal Permissive License v1.0
3 stars 1 forks source link

Riege Software Code Quality

Linter configurations and GitHub workflows for linting source code.

Super Linter

Use this workflow if your repository consists of multiple file formats (e.g. Java, XML, Terraform). The Super Linter action is quite a beast but there is virtually nothing this action cannot lint.

Add a new workflow file like this one or add the following lines to a existing workflow:

  call-lint-workflow:
    uses: "riege/code-quality/.github/workflows/super-linter.yml@v1.0.0"

Terraform

The workflow terraform.yml is intended for repositories consisting of Terraform files only. It's small and fast and properly checks Terraform configurations.

Usage:

jobs:
  lint:
    uses: riege/code-quality/.github/workflows/terraform.yml@v1.0.0
    with:
      skip_init: false
      skip_validate: false
    secrets: inherit