File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1717.PHONY : generate build clean
1818
1919# Generate code for every service folder that owns an openapi.yaml
20- generate : $(SERVICES:%=generate-% )
20+ generate : $(GOBIN ) /oapi-codegen $( SERVICES:%=generate-% )
2121
2222
2323tools = $(addprefix $(GOBIN ) /, golangci-lint goimports govulncheck protoc-gen-go protoc-gen-go-grpc gci oapi-codegen)
@@ -50,7 +50,7 @@ format: tools # Format go code and error if any changes are made
5050# Install oapi-codegen
5151$(GOBIN ) /oapi-codegen :
5252 @echo " 🔘 Installing oapi-codegen... (` date ' +%H:%M:%S' ` )"
53- @go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest
53+ @go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1
5454
5555# Generate mock binary fixtures (NuGet .nupkg, NPM .tgz, Dart .tar.gz)
5656# into testdata/binary/ for the mock_jfrog adapter. Run once after cloning.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
1111 github.com/google/go-containerregistry v0.20.6
1212 github.com/google/uuid v1.6.0
1313 github.com/hashicorp/go-retryablehttp v0.7.8
14- github.com/hashicorp/go-slug v1.0.0
14+ github.com/hashicorp/go-slug v0.16.8
1515 github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf
1616 github.com/oapi-codegen/runtime v1.1.1
1717 github.com/pterm/pterm v0.12.80
Original file line number Diff line number Diff line change @@ -167,8 +167,8 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l
167167github.com/hashicorp/go-multierror v1.1.1 /go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM =
168168github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48 =
169169github.com/hashicorp/go-retryablehttp v0.7.8 /go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw =
170- github.com/hashicorp/go-slug v1.0.0 h1:aOwhQ1fIbyRAUdBDzXZK2LVmsFFQYuuvJhOM8X9XW3o =
171- github.com/hashicorp/go-slug v1.0.0 /go.mod h1:Zxkkl8/LfXmhxZO3fLXQUCy3MVXAJK9pybY8WoDPgvs =
170+ github.com/hashicorp/go-slug v0.16.8 h1:f4/sDZqRsxx006HrE6e9BE5xO9lWXydKhVoH6Kb0v1M =
171+ github.com/hashicorp/go-slug v0.16.8 /go.mod h1:hB4mUcVHl4RPu0205s0fwmB9i31MxQgeafGkko3FD+Y =
172172github.com/hashicorp/golang-lru/arc/v2 v2.0.5 h1:l2zaLDubNhW4XO3LnliVj0GXO3+/CGNJAg1dcN2Fpfw =
173173github.com/hashicorp/golang-lru/arc/v2 v2.0.5 /go.mod h1:ny6zBSQZi2JxIeYcv7kt2sH2PXJtirBN7RDhRpxPkxU =
174174github.com/hashicorp/golang-lru/v2 v2.0.5 h1:wW7h1TG88eUIJ2i69gaE3uNVtEPIagzhGvHgwfx2Vm4 =
You can’t perform that action at this time.
0 commit comments