Skip to content

Commit

Permalink
fix: ci error
Browse files Browse the repository at this point in the history
Signed-off-by: zemyblue <zemyblue@gmail.com>
(cherry picked from commit b98ef07008b1a1e93882447e67286a0a2ae6339f)
  • Loading branch information
zemyblue committed Jun 22, 2023
1 parent 86555a5 commit 89351b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,4 @@ libsodium:
proto-swagger-gen:
@echo "Generating Protobuf Swagger"
./scripts/generate-docs.sh
@echo "gopath: $(GOPATH)"
ls -al $(GOPATH)/bin/statik
which statik
$(GOPATH)/bin/statik -src=client/docs/swagger-ui -dest=client/docs -f -m
6 changes: 2 additions & 4 deletions scripts/ci/check-generated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@

set -euo pipefail

echo "[install tools]"
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0
go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v1.16.0
go get github.com/rakyll/statik
go install github.com/rakyll/statik@v0.1.7

echo "[go mod tidy]"
go mod tidy

echo "[check versions]"
yarn --version

echo "[Run proto-swagger-gen]"
make proto-swagger-gen

Expand Down

0 comments on commit 89351b6

Please sign in to comment.