Compare commits

...

4 Commits

Author SHA1 Message Date
nfel 8aa875b1d6 v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 13:35:34 +03:30
nfel a199324bcc v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 13:24:38 +03:30
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 9 additions and 7 deletions
+8 -6
View File
@@ -14,17 +14,19 @@ 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: buf --version
- uses: actions/checkout@v4
with:
token: ${{ gitea.token }}
path: ./
- run: buf generate
- 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 install --save @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
- run: buf --version
- run: |
export PATH=$PATH:./node_modules/.bin
buf generate
- run: |
if [ -n ${{ gitea.ref_name }} ]; then
mkdir .res
+1 -1
View File
@@ -42,7 +42,7 @@ plugins:
# - remote: buf.build/bufbuild/es:v2.2.2
# # opt: import_prefix=github.com/nfel
# out: stub/ts
- local: node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es
- local: protoc-gen-es
out: stub/ts
opt: target=ts