Compare commits

...

2 Commits

Author SHA1 Message Date
nfel 3ebd28b9b8 v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 13:17:00 +03:30
nfel f2ba3c5340 v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 13:14:56 +03:30
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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
+1 -1
View File
@@ -42,7 +42,7 @@ plugins:
# - remote: buf.build/bufbuild/es:v2.2.2 # - remote: buf.build/bufbuild/es:v2.2.2
# # opt: import_prefix=github.com/nfel # # opt: import_prefix=github.com/nfel
# out: stub/ts # out: stub/ts
- local: node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es - local: protoc-gen-es
out: stub/ts out: stub/ts
opt: target=ts opt: target=ts