v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
f2ba3c5340
commit
3ebd28b9b8
@ -14,16 +14,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.18.0'
|
go-version: '>=1.23.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 init -y && npm install --save-dev @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
- run: npm init -y && npm install --save @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
||||||
- run: buf --version
|
- run: buf --version
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ gitea.token }}
|
token: ${{ gitea.token }}
|
||||||
path: ./
|
path: ./
|
||||||
|
- run: ls -aRl ./
|
||||||
- run: buf generate
|
- run: buf generate
|
||||||
- run: |
|
- run: |
|
||||||
if [ -n ${{ gitea.ref_name }} ]; then
|
if [ -n ${{ gitea.ref_name }} ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user