Skip to content

SearchV2

SearchV2 #312

Workflow file for this run

name: Buf lint
on:
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download buf
uses: dsaltares/[email protected]
with:
repo: 'bufbuild/buf'
version: 'tags/v1.48.0'
file: 'buf-Linux-x86_64'
target: 'buf-Linux-x86_64'
- run: chmod 755 ./buf-Linux-x86_64
- run: ./buf-Linux-x86_64 lint
breaking:
runs-on: ubuntu-latest
steps:
- name: Download buf
uses: dsaltares/[email protected]
with:
repo: 'bufbuild/buf'
version: 'tags/v1.48.0'
file: 'buf-Linux-x86_64'
target: 'buf-Linux-x86_64'
- run: chmod 755 ./buf-Linux-x86_64
- name: Check out ref code
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
path: baseref
- run: cd baseref && buf image build -o image.bin
- name: Check out code
uses: actions/checkout@v4
with:
path: prclone
- run: cd prclone && ../buf-Linux-x86_64 breaking --against ../baseref/image.bin