diff --git a/.github/workflows/starknet_p2p_specs_ci.yml b/.github/workflows/starknet_p2p_specs_ci.yml index bb564fe..321722a 100644 --- a/.github/workflows/starknet_p2p_specs_ci.yml +++ b/.github/workflows/starknet_p2p_specs_ci.yml @@ -26,30 +26,31 @@ jobs: with: version: ${{env.PROTOC_VERSION}} - - name: protoc version - run: protoc --version - - name: Validate .proto files for Rust compatibility run: | - protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/*.proto - protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/**/*.proto + protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) *.proto + # protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/*.proto + # protoc --rust_out=experimental-codegen=enabled,kernel=upb:$(mktemp -d) ./p2p/proto/**/*.proto - name: Validate .proto files for Python compatibility run: | - protoc --python_out=$(mktemp -d) ./p2p/proto/*.proto - protoc --python_out=$(mktemp -d) ./p2p/proto/**/*.proto + protoc --python_out=$(mktemp -d) *.proto + # protoc --python_out=$(mktemp -d) ./p2p/proto/*.proto + # protoc --python_out=$(mktemp -d) ./p2p/proto/**/*.proto - name: Validate .proto files for C++ compatibility run: | - protoc --cpp_out=$(mktemp -d) ./p2p/proto/*.proto - protoc --cpp_out=$(mktemp -d) ./p2p/proto/**/*.proto + protoc --cpp_out=$(mktemp -d) *.proto + # protoc --cpp_out=$(mktemp -d) ./p2p/proto/*.proto + # protoc --cpp_out=$(mktemp -d) ./p2p/proto/**/*.proto - name: Install protoc-gen-go run: | go install google.golang.org/protobuf/cmd/protoc-gen-go@latest export PATH=$PATH:$(go env GOPATH)/bin - protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/*.proto - protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/**/*.proto + protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative *.proto + # protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/*.proto + # protoc --go_out=$(mktemp -d) --go_opt=paths=source_relative ./p2p/proto/**/*.proto # - name: go env GOPATH # run: go env GOPATH