ci(stage): add build-proto shared action (buf lint + buf build)
CI/CD Stage / stage (push) Failing after 40s

This commit is contained in:
2026-08-06 17:05:58 +03:30
parent ef69aa469d
commit 3f0f85a485
+27
View File
@@ -0,0 +1,27 @@
name: Build Proto
description: Install buf CLI, run buf lint and buf build
inputs:
buf_ref:
description: Git ref of actions/buf-bin to checkout
required: false
default: "main"
runs:
using: composite
steps:
- name: Checkout Buf CLI
uses: https://git.darano.ir/actions/checkout@v5
with:
repository: actions/buf-bin
ref: ${{ inputs.buf_ref }}
path: buf-bin
- name: Setup Buf CLI
shell: bash
run: |
cp buf-bin/buf /usr/local/bin/buf
chmod +x /usr/local/bin/buf
- name: Lint
shell: bash
run: buf lint
- name: Build
shell: bash
run: buf build