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