You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,6 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
20
20
21
21
If you value it, consider supporting us, we appreciate it! :heart:
22
22
23
-
## Compatibility
24
-
25
-
*`v6.0.0+` removes `annotations` option, removes the default output format (`github-actions`).
26
-
*`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`.
27
-
*`v4.0.0+` requires an explicit `actions/setup-go` installation step before using this action: `uses: actions/setup-go@v5`.
28
-
The `skip-go-installation` option has been removed.
29
-
*`v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
30
-
*`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))
31
-
*`v1.2.1` works with `golangci-lint` version >= `v1.14.0` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
32
-
33
23
## How to use
34
24
35
25
We recommend running this action in a job separate from other jobs (`go test`, etc.)
@@ -74,10 +64,6 @@ jobs:
74
64
<details>
75
65
<summary>Multiple OS Example</summary>
76
66
77
-
If you need to run linters for specific operating systems, you will need to use the action `>=v2`.
78
-
79
-
Here is a sample configuration file:
80
-
81
67
```yaml
82
68
name: golangci-lint
83
69
on:
@@ -119,6 +105,16 @@ You will also likely need to add the following `.gitattributes` file to ensure t
119
105
120
106
</details>
121
107
108
+
## Compatibility
109
+
110
+
* `v6.0.0+` removes `annotations` option, removes the default output format (`github-actions`).
111
+
* `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`.
112
+
* `v4.0.0+` requires an explicit `actions/setup-go` installation step before using this action: `uses: actions/setup-go@v5`.
113
+
The `skip-go-installation` option has been removed.
114
+
* `v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
115
+
* `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))
116
+
* `v1.2.1` works with `golangci-lint` version >= `v1.14.0` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
0 commit comments