Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v8.0.0
with:
version: v2.4.0
version: v2.7.2
args: --timeout=30m
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ check-curl: ## Check if curl is installed
# Check for Golangci-lint
.PHONY: check-golangci-lint
check-golangci-lint:
@which golangci-lint-v2 > /dev/null || (echo "Error: golangci-lint-v2 is not installed. Please install it: https://github.com/golangci/golangci-lint" && exit 1)
@which golangci-lint > /dev/null || (echo "Error: golangci-lint is not installed. Please install it: https://github.com/golangci/golangci-lint" && exit 1)

# Check for Swag
.PHONY: check-swag
Expand Down Expand Up @@ -98,7 +98,7 @@ test-unit: ## Runs the unit tests

.PHONY: lint
lint: ## Runs the linter
export "GOROOT=$$(go env GOROOT)" && $$(go env GOPATH)/bin/golangci-lint-v2 run --timeout 5m
export "GOROOT=$$(go env GOROOT)" && $$(go env GOPATH)/bin/golangci-lint run --timeout 5m

.PHONY: generate-swagger-docs
generate-swagger-docs: ## Generates the swagger docs
Expand Down
Loading