Skip to content

feat: farming

feat: farming #71

Workflow file for this run

name: Protobuf
on:
pull_request:
paths:
- "proto/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.proto
**/buf.yaml
buf.work.yaml
buf.gen.yaml
- run: make proto-gen
if: env.GIT_DIFF
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.proto
**/buf.yaml
buf.work.yaml
buf.gen.yaml
- run: |
make proto-lint
if: env.GIT_DIFF