We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7384f1a + c1590ea commit 62b64deCopy full SHA for 62b64de
.github/workflows/test.yaml
@@ -43,4 +43,5 @@ jobs:
43
uses: golangci/golangci-lint-action@v3
44
with:
45
# version of golangci-lint to use
46
+ # Version should stay in sync with version used for local linting (lint job in Makefile).
47
version: v1.50.1
Makefile
@@ -42,6 +42,10 @@ $(plugins_dir):
42
test:
go test ./...
+lint:
+ # Version used should stay in sync with version in CI (.github/workflows/test.yaml).
+ docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.50.1 golangci-lint run
48
+
49
%/remove-local: beta-notice
50
$(eval plugin := $(firstword $(subst /, ,$@)))
51
rm -f ~/.op/plugins/local/$(plugin)
0 commit comments