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
+2-2
Original file line number
Diff line number
Diff line change
@@ -505,7 +505,7 @@ The restrictions of annotations are the following:
505
505
If you would like to have comments - please, up-vote [the issue](https://github.com/golangci/golangci-lint-action/issues/5).
506
506
3. The number of annotations is [limited](https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md#limitations).
507
507
508
-
To enable annotations, you need to add the `checks` permission to your action.
508
+
Permissions required:
509
509
510
510
```yaml annotate
511
511
permissions:
@@ -521,7 +521,7 @@ For annotations to work use the default `colored-line-number` output and either
521
521
522
522
The action was implemented with performance in mind:
523
523
524
-
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache).
524
+
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache).
525
525
2. We don't use Docker because image pulling is slow.
526
526
3. We do as much as we can in parallel, e.g. we download cache, and golangci-lint binary in parallel.
0 commit comments