Skip to content

Commit 7648077

Browse files
authored
Use comprehensive lint command (#712)
Signed-off-by: Yuki Iwai <[email protected]>
1 parent 6c4f285 commit 7648077

File tree

3 files changed

+2
-29
lines changed

3 files changed

+2
-29
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
go-version-file: ${{ env.GOPATH }}/src/github.com/kubeflow/mpi-operator/go.mod
3232
- name: fmt check
33-
run: make fmt
33+
run: make fmt lint
3434
- name: go mod tidy
3535
run: make tidy
3636
- name: Build

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ tidy:
134134

135135
.PHONY: lint
136136
lint: bin/golangci-lint ## Run golangci-lint linter
137-
$(GOLANGCI_LINT) run
137+
$(GOLANGCI_LINT) run --timeout=5m
138138

139139
# Generate deploy/v2beta1/mpi-operator.yaml
140140
manifest: kustomize crd

0 commit comments

Comments
 (0)