mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-14 10:13:10 +02:00
8f9f2d84cf
* Move proto to OTLP exporter * Update OTLP exporter import of proto * Use gogo protobuf To stop using the deprecated github.com/golang/protobuf and match what the collector is doing, switch to generating OTLP with the github.com/gogo/protobuf/proto instead of github.com/golang/protobuf/proto. * Clean dependencies Remove all protobuf dependencies from otel package and all of its dependencies. * Update CHANGELOG * Clean OTLP exporter go mod Remove submodule beforehand to avoid unneeded direct dependencies. * Use default ref for GitHub workflow * Update path that triggers proto gen action * Correct license-check exclusion for OTLP * Update commented location of the OTLP and code
23 lines
548 B
YAML
23 lines
548 B
YAML
name: Proto-go-generator
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'exporters/otlp/internal/opentelemetry-proto'
|
|
|
|
jobs:
|
|
protogen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.14.0'
|
|
- run: sudo apt-get -y install pax
|
|
- run: make -f Makefile.proto protobuf
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
id: commit-changes
|
|
with:
|
|
commit_message: Commit changes in updated/new protobuf files
|