mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
8f3bcfac93
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu> Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
21 lines
548 B
YAML
21 lines
548 B
YAML
name: Check proto files
|
|
inputs:
|
|
version:
|
|
type: string
|
|
description: Protoc version
|
|
default: "3.5.1"
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: |
|
|
env
|
|
set -x
|
|
curl -s -L https://github.com/protocolbuffers/protobuf/releases/download/v${{ inputs.version }}/protoc-${{ inputs.version }}-linux-x86_64.zip > /tmp/protoc.zip
|
|
unzip -d /tmp /tmp/protoc.zip
|
|
chmod +x /tmp/bin/protoc
|
|
export PATH=/tmp/bin:$PATH
|
|
make proto
|
|
shell: bash
|
|
- run: git diff --exit-code
|
|
shell: bash
|