mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-12 02:28:07 +02:00
dd79483e20
* Add protogen workflow * Move out protobuf generation to Makefile.proto * Include in Changelog * Update Makefile.proto Move file-local mode variable to line by itself. Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
24 lines
569 B
YAML
24 lines
569 B
YAML
name: Proto-go-generator
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'internal/opentelemetry-proto'
|
|
|
|
jobs:
|
|
protogen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
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
|