mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-15 23:26:31 +00:00
docs: add note about github.workspace (#1218)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
a5307c8f68
commit
f51fbec16f
1 changed files with 2 additions and 0 deletions
|
|
@ -400,6 +400,8 @@ The location of the configuration file can be changed by using `--config=`
|
||||||
```yml
|
```yml
|
||||||
uses: golangci/golangci-lint-action@v7
|
uses: golangci/golangci-lint-action@v7
|
||||||
with:
|
with:
|
||||||
|
# In some rare cases,
|
||||||
|
# you could have to use `${{ github.workspace }}` as base directory to reference your configuration file.
|
||||||
args: --config=/my/path/.golangci.yml --issues-exit-code=0
|
args: --config=/my/path/.golangci.yml --issues-exit-code=0
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue