Feature/gen 2030 group sources to destination #180
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |