No description
Find a file
2024-11-28 14:09:51 +01:00
.github/workflows added linting 2024-11-28 14:09:51 +01:00
README.md added linting 2024-11-28 14:09:51 +01:00

Run Go Lint GitHub Action

This GitHub Action uses golangci-lint to lint Go source code, ensuring code quality and adherence to best practices.

Inputs

Input Name Description Required Type Default Value
source The source files or directories to lint. No string ./...

Usage

The action can be reused with workflow_call. Here's an example of how to invoke it:

jobs:
  lint:
    uses: DevFW-CICD/lint/.github/workflows/golang-ci-lint.yml@main
    with:
      source: './pkg/...'