Skip to content

Commit b15585b

Browse files
arukiidouabhinav
andauthored
ci: Fix golangci-lint installation (#1424)
`golangci-lint run` no longer accepts `--version`, so the hack we employ to install it using the official action no longer works. This replaces the flag with `--help`, and fixes broken CI. Resolves #1423 --------- Signed-off-by: junya koyama <[email protected]> Co-authored-by: Abhinav Gupta <[email protected]>
1 parent b39f8b6 commit b15585b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/go.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
name: Install golangci-lint
6363
with:
6464
version: latest
65-
args: --version # make lint will run the linter
65+
# Hack: Use the official action to download, but not run.
66+
# make lint below will handle actually running the linter.
67+
args: --help
6668

6769
- run: make lint
6870
name: Lint

0 commit comments

Comments
 (0)