Skip to content

Feature/gen 2030 group sources to destination #180

Feature/gen 2030 group sources to destination

Feature/gen 2030 group sources to destination #180

name: verify collector ocb
on:
pull_request:
paths:
- "collector/**"
jobs:
verify-collector-ocb:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.0"
- name: Generate collector with ocb
working-directory: ./collector
run: "make genodigoscol generate"
- name: Verify Generate
working-directory: ./collector
run: |
if [[ $(git diff --exit-code) ]]; then
git diff
echo "odigos collector distribution module is not in sync with builder config. Please run 'make genodigoscol generate' in 'collector' directory and commit the changes."
exit 1
fi