2020-07-16 10:07:59 -07:00
|
|
|
name: Proto-go-generator
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2020-08-10 19:55:52 -07:00
|
|
|
- 'exporters/otlp/internal/opentelemetry-proto'
|
2020-07-16 10:07:59 -07:00
|
|
|
|
|
|
|
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'
|
2020-12-07 18:36:06 +01:00
|
|
|
- run: sudo apt-get -y install rsync wget unzip
|
|
|
|
- run: make -f Makefile.proto protobuf clean
|
2020-07-16 10:07:59 -07:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
id: commit-changes
|
|
|
|
with:
|
|
|
|
commit_message: Commit changes in updated/new protobuf files
|