File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Verify Protobuf Well-Known Types are Up-to-Date
2+
3+ on :
4+ pull_request :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ verify-platforms-table :
11+ name : Run Verification
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout Sources
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+ - name : Setup Gradle
19+ uses : gradle/actions/setup-gradle@v4
20+ - name : Run Protobuf Conformance Test Generation
21+ run : ./gradlew :protobuf:protobuf-core:bufGenerateCommonMain --info --stacktrace
22+ - name : Check if Well-Known Types are up-to-date
23+ run : |
24+ if [[ -n "$(git status --porcelain | grep protobuf/protobuf-core/)" ]]; then
25+ echo "Well-Known Types are not up-to-date. Please run './gradlew :protobuf:protobuf-core:bufGenerateCommonMain' and commit changes"
26+ exit 1
27+ fi
You can’t perform that action at this time.
0 commit comments