This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user