Skip to content

Commit 42dfcbf

Browse files
authored
Merge pull request #30 from jimdaga/synced-main
Repo Sync: github.com/observatorium/api
2 parents 331e2d3 + 9c72fa4 commit 42dfcbf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+5293
-4026
lines changed

.bingo/Variables.mk

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,17 @@ $(FAILLINT): $(BINGO_DIR)/faillint.mod
4141
@echo "(re)installing $(GOBIN)/faillint-v1.13.0"
4242
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=faillint.mod -o=$(GOBIN)/faillint-v1.13.0 "github.com/fatih/faillint"
4343

44-
GOIMPORTS := $(GOBIN)/goimports-v0.4.0
45-
$(GOIMPORTS): $(BINGO_DIR)/goimports.mod
46-
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
47-
@echo "(re)installing $(GOBIN)/goimports-v0.4.0"
48-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goimports.mod -o=$(GOBIN)/goimports-v0.4.0 "golang.org/x/tools/cmd/goimports"
49-
5044
GOJSONTOYAML := $(GOBIN)/gojsontoyaml-v0.0.0-20200602132005-3697ded27e8c
5145
$(GOJSONTOYAML): $(BINGO_DIR)/gojsontoyaml.mod
5246
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
5347
@echo "(re)installing $(GOBIN)/gojsontoyaml-v0.0.0-20200602132005-3697ded27e8c"
5448
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=gojsontoyaml.mod -o=$(GOBIN)/gojsontoyaml-v0.0.0-20200602132005-3697ded27e8c "github.com/brancz/gojsontoyaml"
5549

56-
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.61.0
50+
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v2.2.2
5751
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
5852
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
59-
@echo "(re)installing $(GOBIN)/golangci-lint-v1.61.0"
60-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.61.0 "github.com/golangci/golangci-lint/cmd/golangci-lint"
53+
@echo "(re)installing $(GOBIN)/golangci-lint-v2.2.2"
54+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v2.2.2 "github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
6155

6256
GOYACC := $(GOBIN)/goyacc-v0.1.5
6357
$(GOYACC): $(BINGO_DIR)/goyacc.mod
@@ -95,23 +89,17 @@ $(KUBEVAL): $(BINGO_DIR)/kubeval.mod
9589
@echo "(re)installing $(GOBIN)/kubeval-v0.0.0-20201005082916-38668c6c5b23"
9690
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=kubeval.mod -o=$(GOBIN)/kubeval-v0.0.0-20201005082916-38668c6c5b23 "github.com/instrumenta/kubeval"
9791

98-
MISSPELL := $(GOBIN)/misspell-v0.3.4
99-
$(MISSPELL): $(BINGO_DIR)/misspell.mod
100-
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
101-
@echo "(re)installing $(GOBIN)/misspell-v0.3.4"
102-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=misspell.mod -o=$(GOBIN)/misspell-v0.3.4 "github.com/client9/misspell/cmd/misspell"
103-
10492
OAPI_CODEGEN := $(GOBIN)/oapi-codegen-v1.9.0
10593
$(OAPI_CODEGEN): $(BINGO_DIR)/oapi-codegen.mod
10694
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
10795
@echo "(re)installing $(GOBIN)/oapi-codegen-v1.9.0"
10896
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=oapi-codegen.mod -o=$(GOBIN)/oapi-codegen-v1.9.0 "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
10997

110-
OPA := $(GOBIN)/opa-v0.23.2
98+
OPA := $(GOBIN)/opa-v1.5.1
11199
$(OPA): $(BINGO_DIR)/opa.mod
112100
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
113-
@echo "(re)installing $(GOBIN)/opa-v0.23.2"
114-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=opa.mod -o=$(GOBIN)/opa-v0.23.2 "github.com/open-policy-agent/opa"
101+
@echo "(re)installing $(GOBIN)/opa-v1.5.1"
102+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=opa.mod -o=$(GOBIN)/opa-v1.5.1 "github.com/open-policy-agent/opa"
115103

116104
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.4.2
117105
$(PROTOC_GEN_GO): $(BINGO_DIR)/protoc-gen-go.mod

.bingo/goimports.mod

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

.bingo/goimports.sum

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

.bingo/golangci-lint.mod

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
22

3-
go 1.22.1
3+
go 1.23.9
44

5-
toolchain go1.22.8
6-
7-
require github.com/golangci/golangci-lint v1.61.0 // cmd/golangci-lint
5+
require github.com/golangci/golangci-lint/v2 v2.2.2 // cmd/golangci-lint

0 commit comments

Comments
 (0)