Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/validate-proto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Validate GTFS-realtime .proto file

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Install Protoc
uses: arduino/setup-protoc@master
- name: Compile Java bindings
run: protoc --java_out=gtfs-realtime/proto gtfs-realtime/proto/gtfs-realtime.proto