> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# timakin/golangci-lint

CircleCI orb for Reviewdog.
https://github.com/haya14busa/reviewdog


## Commands

### lint

Runs the goalngci-lint

| Parameter | Type | Default | Description |
|---|---|---|---|
| `attach-workspace` | boolean | false | Boolean for whether or not to attach to an existing workspace. Default is false.
 |
| `checkout` | boolean | true | Boolean for whether or not to checkout as a first step. Default is true.
 |
| `directories` | string | ./... | directory path list of the lint target |
| `working-directory` | string | . | directory path for this job |
| `workspace-root` | string | . | Workspace root path that is either an absolute path or a path relative to the working directory. Defaults to '.' (the working directory)
 |

## Jobs

### lint

Lint the Go project with golangci-lint


| Parameter | Type | Default | Description |
|---|---|---|---|
| `attach-workspace` | boolean | false | Boolean for whether or not to attach to an existing workspace. Default is false.
 |
| `checkout` | boolean | true | Boolean for whether or not to checkout as a first step. Default is true.
 |
| `directories` | string | ./... | directory path list of the lint target |
| `tag` | string | latest | tag of the docker image of `golangci/golangci-lint` |
| `working-directory` | string | . | directory path for this job |
| `workspace-root` | string | . | Workspace root path that is either an absolute path or a path relative to the working directory. Defaults to '.' (the working directory)
 |

## Executors

### golangci

| Parameter | Type | Default | Description |
|---|---|---|---|
| `tag` | string | latest | tag of the docker image of `golangci/golangci-lint` |

## Examples

### golangci

Usage of timakin/golangci-lint orb

```yaml
orbs:
  golangci-lint: timakin/golangci-lint@volatile
version: 2.1
workflows:
  build:
    jobs:
      - golangci-lint/lint
```