v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
23c65dcd04
commit
f22f9faf4b
@ -11,23 +11,15 @@ jobs:
|
|||||||
buf:
|
buf:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# - uses: bufbuild/buf-action@v1
|
|
||||||
# with:
|
|
||||||
# token: 3f12fe38656b6e6423daad49945922b292322862cac00f4a922f68ea44e44c00
|
|
||||||
# setup_only: true
|
|
||||||
# pr_comment: true
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
|
||||||
go-version: '>=1.18.0'
|
|
||||||
- uses: bufbuild/buf-setup-action@v1.47.2
|
- uses: bufbuild/buf-setup-action@v1.47.2
|
||||||
- run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
- run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||||
- run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
- run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||||
- run: npm install @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
- run: npm install @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
||||||
- run: buf --version
|
- run: buf --version
|
||||||
- name: Checkout Git
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PROD_REG_TOKEN }}
|
token: ${{ secrets.PROD_REG_TOKEN }}
|
||||||
path: ./
|
path: ./
|
||||||
- run: npx buf generate
|
- run: npx buf generate || cat -A /root/.npm/_logs/*.log
|
||||||
- run: ls -aRhl
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user