Skip to content

feat: kyverno operator support #41

feat: kyverno operator support

feat: kyverno operator support #41

Workflow file for this run

name: "PR checks"
on:
pull_request:
permissions:
contents: read
env:
GO_VERSION: 1.19.3
jobs:
# lint-protos:
# runs-on: ubuntu-latest
#steps:
# Install the `buf` CLI
# - uses: bufbuild/buf-setup-action@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Checkout repository
# uses: actions/checkout@v3
# Lint your Protobuf sources
#- uses: bufbuild/buf-lint-action@v1
# with:
# input: protobuf
buf-format:
runs-on: ubuntu-latest
steps:
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
- name: Buf format check
run: buf format -d --exit-code
buf-breaking-changes:
runs-on: ubuntu-latest
steps:
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
# Run breaking change detection against the last commit
- uses: bufbuild/buf-breaking-action@v1
with:
input: protobuf
against: "https://github.com/k8sgpt-ai/schemas.git#branch=main,ref=HEAD~1,subdir=protobuf"