From 3a0cd5d9e21090955538b71906ae9d8b4a94cf10 Mon Sep 17 00:00:00 2001 From: Jacob Oaks Date: Tue, 2 Apr 2024 15:54:47 -0400 Subject: [PATCH] Fix golangci-lint installation step in CI Following https://github.com/uber-go/zap/pull/1424 as an example, fix CI to use `--help` flag since `--version` is no longer accepted. (example issue: https://github.com/uber-go/fx/actions/runs/8469190208/job/23203935028?pr=1182) --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9bbb7df13..6b05bb320 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -75,7 +75,7 @@ jobs: name: Install golangci-lint with: version: latest - args: --version # make lint will run the linter + args: --help # make lint will run the linter - run: make lint name: Lint