From b15585bc7a2b383592004f75df35fa2088db5481 Mon Sep 17 00:00:00 2001 From: arukiidou Date: Wed, 3 Apr 2024 04:52:10 +0900 Subject: [PATCH] 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 Co-authored-by: Abhinav Gupta --- .github/workflows/go.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3ec8881f5..790ebdf43 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -62,7 +62,9 @@ jobs: name: Install golangci-lint with: version: latest - args: --version # make lint will run the linter + # Hack: Use the official action to download, but not run. + # make lint below will handle actually running the linter. + args: --help - run: make lint name: Lint