-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buf-setup-action deprecated in favor of buf-action mysql_async held back from breaking minor version upgrade, they need to address blackbeam/mysql_async#304
- Loading branch information
Showing
8 changed files
with
356 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,27 +12,13 @@ runs: | |
./flow/generated/protos | ||
./nexus/pt/src/gen | ||
./ui/grpc_generated | ||
key: ${{ runner.os }}-build-genprotos-${{ hashFiles('buf.gen.yaml', 'buf.gen-local.yaml', './protos/peers.proto', './protos/flow.proto', './protos/route.proto') }} | ||
key: ${{ runner.os }}-build-genprotos-${{ hashFiles('buf.gen.yaml', './protos/peers.proto', './protos/flow.proto', './protos/route.proto') }} | ||
|
||
- if: steps.cache.outputs.cache-hit != 'true' | ||
uses: ubicloud/setup-go@v5 | ||
with: | ||
go-version: '1.23.0' | ||
cache: false | ||
- if: steps.cache.outputs.cache-hit != 'true' | ||
uses: bufbuild/[email protected] | ||
uses: bufbuild/buf-action@v1 | ||
with: | ||
setup_only: true | ||
github_token: ${{ github.token }} | ||
- if: steps.cache.outputs.cache-hit != 'true' | ||
uses: dtolnay/rust-toolchain@stable | ||
- if: steps.cache.outputs.cache-hit != 'true' | ||
name: install protobuf plugins and generate protos | ||
shell: bash | ||
run: | | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected] | ||
npm install ts-proto | ||
cargo install protoc-gen-prost protoc-gen-tonic protoc-gen-prost-serde | ||
PATH="$(go env GOPATH)/bin:$HOME/.cargo/bin:$PATH" buf generate --template buf.gen-local.yaml --debug protos | ||
shell: sh | ||
run: buf generate protos |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.