No description
| .github/workflows | ||
| README.md | ||
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/...'