Skip to content

Commit

Permalink
doc: improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed May 7, 2024
1 parent 23faadf commit 5815a4b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
version: latest
```
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
version: latest
```
Expand All @@ -113,7 +113,7 @@ The version of golangci-lint to use.
* When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
version: latest
# ...
Expand All @@ -128,7 +128,7 @@ The mode to install golangci-lint: it can be `binary` or `goinstall`.
The default value is `binary`.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
install-mode: "goinstall"
# ...
Expand All @@ -143,7 +143,7 @@ Show only new issues.
The default value is `false`.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
only-new-issues: true
# ...
Expand All @@ -161,7 +161,7 @@ with:
Working directory, useful for monorepos.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
working-directory: somedir
# ...
Expand All @@ -177,7 +177,7 @@ takes precedence over all other caching options.
The default value is `false`.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
skip-cache: true
# ...
Expand All @@ -192,7 +192,7 @@ If set to `true`, caches will not be saved, but they may still be restored, requ
The default value is `false`.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
skip-save-cache: true
# ...
Expand All @@ -207,7 +207,7 @@ Periodically invalidate the cache every `cache-invalidation-interval` days to en
The default value is `7`.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
cache-invalidation-interval: 15
# ...
Expand All @@ -230,7 +230,7 @@ https://golangci-lint.run/usage/configuration/#output-configuration
The default value is `false`.

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
problem-matchers: true
# ...
Expand All @@ -246,7 +246,7 @@ Note: By default, the `.golangci.yml` file should be at the root of the reposito
The location of the configuration file can be changed by using `--config=`

```yml
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
# ...
Expand Down

0 comments on commit 5815a4b

Please sign in to comment.