Skip to content

Commit

Permalink
Fix golangci-lint installation step in CI (#1185)
Browse files Browse the repository at this point in the history
Following uber-go/zap#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)
  • Loading branch information
JacobOaks committed Apr 2, 2024
1 parent e44b89c commit 5c45bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5c45bbc

Please sign in to comment.