Skip to content

Commit ca0f645

Browse files
committed
Enforce linting for freebsd and windows
Signed-off-by: apostasie <[email protected]>
1 parent e0de7b1 commit ca0f645

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ clean:
7070
lint: lint-go lint-imports lint-yaml lint-shell
7171

7272
lint-go:
73-
cd $(MAKEFILE_DIR) && golangci-lint run $(VERBOSE_FLAG_LONG) ./...
73+
cd $(MAKEFILE_DIR) && GOOS=linux golangci-lint run $(VERBOSE_FLAG_LONG) ./... && \
74+
GOOS=windows golangci-lint run $(VERBOSE_FLAG_LONG) ./... && \
75+
GOOS=freebsd golangci-lint run $(VERBOSE_FLAG_LONG) ./...
7476

7577
lint-imports:
7678
cd $(MAKEFILE_DIR) && ./hack/lint-imports.sh

0 commit comments

Comments
 (0)