Commit 5d58379
committed
ci: don't install private golangci-lint
First, let's not install golangci-lint from Makefile, instead relying on
whatever version a developer already has installed and available.
Second, we still need golangci-lint in GHA CI. For that, let's use
golangci-lint-action. Unfortunately, there's no way to NOT run it
from the action, or run it on multiple directories (see [1]), so
run it on a single module.
This is better for CI because we use all the good bits from the
golangci-lint-action (caching and annotations).
While at it, bump golangci-lint from v2.0.3 to v2.3.1.
[1]: golangci/golangci-lint-action#1226
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>1 parent 6b0a691 commit 5d58379
3 files changed
+10
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
52 | | - | |
| 50 | + | |
53 | 51 | | |
54 | 52 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 53 | + | |
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
| |||
0 commit comments