From 8c13ec4e5dfcfe1a847f915e396b40d20fec279c Mon Sep 17 00:00:00 2001 From: Aisuko Date: Fri, 9 Jun 2023 00:39:08 +1000 Subject: [PATCH] doc: Add custom configuration file path to args (#767) --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6efc6580b..4b3ca130df 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,10 @@ jobs: # working-directory: somedir # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 + # + # Note: by default the `.golangci.yml` file should be at the root of the repository. + # The location of the configuration file can be changed by using `--config=` + # args: --config=/my/path/.golangci.yml --issues-exit-code=0 # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true @@ -113,7 +116,10 @@ jobs: # working-directory: somedir # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 + # + # Note: by default the `.golangci.yml` file should be at the root of the repository. + # The location of the configuration file can be changed by using `--config=` + # args: --config=/my/path/.golangci.yml --issues-exit-code=0 # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true