Skip to content

Commit 03a8ce6

Browse files
committed
docs: update readme
1 parent 82d40c2 commit 03a8ce6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
99

1010
## Compatibility
1111

12-
* `v4.0.0+` requires an explicit setup-go installation step before using this action: `uses: actions/setup-go@v5`.
12+
* `v5.0.0+` removes `skip-pkg-cache` and `skip-build-cache` because the cache related to Go itself is already handled by `actions/setup-go`.
13+
* `v4.0.0+` requires an explicit `actions/setup-go` installation step before using this action: `uses: actions/setup-go@v5`.
1314
The `skip-go-installation` option has been removed.
1415
* `v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
1516
* `v1.2.2` is deprecated due to we forgot to change the minimum version of `golangci-lint` to `v1.28.3` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
@@ -44,7 +45,7 @@ jobs:
4445
go-version: '1.21'
4546
cache: false
4647
- name: golangci-lint
47-
uses: golangci/golangci-lint-action@v4
48+
uses: golangci/golangci-lint-action@v5
4849
with:
4950
# Require: The version of golangci-lint to use.
5051
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.

0 commit comments

Comments
 (0)