Files
proto/.gitea/actions/build-proto/action.yml
T
2026-08-06 17:05:58 +03:30

28 lines
659 B
YAML

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