Skip to content

Commit

Permalink
docs: add working-directory to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jirfag authored May 21, 2020
1 parent 20d5541 commit 64c208b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ jobs:
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.26

# Optional: working directory, useful for monorepos
# working-directory: somedir

# Optional: golangci-lint command line arguments.
# args: ./the-only-dir-to-analyze/...
# args: --issues-exit-code=0
```

We recommend running this action in a job separate from other jobs (`go test`, etc)
Expand Down

0 comments on commit 64c208b

Please sign in to comment.