Skip to content

Commit

Permalink
add golint removal
Browse files Browse the repository at this point in the history
  • Loading branch information
a-spiker committed Oct 9, 2024
1 parent 39164a8 commit 0ac780f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/golangci.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
go-version: 1.22
- name: Run Lint
run: |
make golanci-lint | make go-lint
make remove-lint
make golanci-lint
make go-lint
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ $(GOLANGCI_LINT): $(GOBIN)
go-lint: golanci-lint ## Run golangci-lint against code.
$(GOLANGCI_LINT) run -c .golangci.yml -v


.PHONY: remove-lint
remove-lint:
$(RM) ${GOBIN}/golangci-lint

# Clean up
.PHONY: clean
clean:
Expand Down

0 comments on commit 0ac780f

Please sign in to comment.