Skip to content

Commit 64c208b

Browse files
authored
docs: add working-directory to README
1 parent 20d5541 commit 64c208b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ jobs:
3131
with:
3232
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
3333
version: v1.26
34+
35+
# Optional: working directory, useful for monorepos
36+
# working-directory: somedir
3437

3538
# Optional: golangci-lint command line arguments.
36-
# args: ./the-only-dir-to-analyze/...
39+
# args: --issues-exit-code=0
3740
```
3841

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

0 commit comments

Comments
 (0)