Skip to content

Commit a97cb59

Browse files
committed
build: update linter
1 parent 7b74cec commit a97cb59

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ jobs:
6262
- name: golangci-lint
6363
uses: golangci/golangci-lint-action@v9
6464
with:
65-
version: v2.1
65+
version: v2.6

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ check-format: ## Check that sources are correctly formatted
6969
check-vet: ## Check source files with `go vet`
7070
go vet ./...
7171

72+
.PHONY: lint
73+
lint: ## Lint source files with `golangci-lint run`
74+
golangci-lint run
75+
7276
##@ Code generation
7377

7478
.PHONY: renku-users-apispec
@@ -80,8 +84,6 @@ renku-users-apispec: ## Download the "users" API spec
8084
.PHONY: renku-session-apispec
8185
renku-session-apispec: ## Download the "session" API spec
8286
curl -L -o pkg/renkuapi/session/api.spec.yaml https://raw.githubusercontent.com/SwissDataScienceCenter/renku-data-services/refs/heads/main/components/renku_data_services/session/api.spec.yaml
83-
# sed -e 's/- default: "general"//g' pkg/renkuapi/users/api.spec.yaml > pkg/renkuapi/users/api.spec.new.yaml
84-
# mv pkg/renkuapi/users/api.spec.new.yaml pkg/renkuapi/users/api.spec.yaml
8587

8688
.PHONY: generate
8789
generate: pkg/renkuapi/users/users_gen.go pkg/renkuapi/session/session_gen.go ## Run go generate

0 commit comments

Comments
 (0)