Skip to content

Commit 0a5c8d9

Browse files
remove dep and use gotags
1 parent 7203ac6 commit 0a5c8d9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/sanity.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@ jobs:
2828
with:
2929
go-version-file: "go.mod"
3030

31-
- name: Install dependencies required for custom-lint
32-
run: sudo apt-get update && sudo apt-get install -y libgpgme-dev
33-
3431
- name: Run golangci linting checks
3532
run: make lint GOLANGCI_LINT_ARGS="--out-format colored-line-number"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ lint: lint-custom $(GOLANGCI_LINT) #HELP Run golangci linter.
100100

101101
.PHONY: custom-linter-build
102102
custom-linter-build:
103-
cd ./hack/ci/custom-linters/cmd/ && go build -o ../../../../bin/custom-linter
103+
cd ./hack/ci/custom-linters/cmd/ && go build -tags '$(GO_BUILD_TAGS)' -o ../../../../bin/custom-linter
104104

105105
.PHONY: lint-custom
106106
lint-custom: custom-linter-build

0 commit comments

Comments
 (0)