From 73269cc0cee7702902a1c2062dcdd5186faf96ec Mon Sep 17 00:00:00 2001 From: nfel Date: Thu, 6 Aug 2026 16:40:24 +0330 Subject: [PATCH] CI: add stage workflow for proto validation --- .gitea/workflows/ci-stage.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/ci-stage.yaml diff --git a/.gitea/workflows/ci-stage.yaml b/.gitea/workflows/ci-stage.yaml new file mode 100644 index 0000000..85de4f1 --- /dev/null +++ b/.gitea/workflows/ci-stage.yaml @@ -0,0 +1,32 @@ +--- +name: CI/CD Stage +on: + push: + branches: + - stage +jobs: + stage: + runs-on: ubuntu-latest + steps: + - name: Checkout Git + uses: https://git.darano.ir/actions/checkout@v5 + with: + token: ${{ gitea.token }} + path: ./ + submodules: recursive + - name: Checkout Buf CLI + uses: https://git.darano.ir/actions/checkout@v5 + with: + repository: actions/buf-bin + ref: main + path: buf-bin + - name: Setup package mirrors + uses: ./.gitea/actions/setup-mirrors + - name: Setup Buf CLI + run: | + cp buf-bin/buf /usr/local/bin/buf + chmod +x /usr/local/bin/buf + - name: Lint + run: buf lint + - name: Build + run: buf build