Skip to content

Commit 8c13ec4

Browse files
authored
doc: Add custom configuration file path to args (#767)
1 parent 416b5d0 commit 8c13ec4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ jobs:
5353
# working-directory: somedir
5454

5555
# Optional: golangci-lint command line arguments.
56-
# args: --issues-exit-code=0
56+
#
57+
# Note: by default the `.golangci.yml` file should be at the root of the repository.
58+
# The location of the configuration file can be changed by using `--config=`
59+
# args: --config=/my/path/.golangci.yml --issues-exit-code=0
5760

5861
# Optional: show only new issues if it's a pull request. The default value is `false`.
5962
# only-new-issues: true
@@ -113,7 +116,10 @@ jobs:
113116
# working-directory: somedir
114117

115118
# Optional: golangci-lint command line arguments.
116-
# args: --issues-exit-code=0
119+
#
120+
# Note: by default the `.golangci.yml` file should be at the root of the repository.
121+
# The location of the configuration file can be changed by using `--config=`
122+
# args: --config=/my/path/.golangci.yml --issues-exit-code=0
117123

118124
# Optional: show only new issues if it's a pull request. The default value is `false`.
119125
# only-new-issues: true

0 commit comments

Comments
 (0)