Skip to content

KRPC-245 Fix eager configuration resolution warning in Gradle 9.0 #395

KRPC-245 Fix eager configuration resolution warning in Gradle 9.0

KRPC-245 Fix eager configuration resolution warning in Gradle 9.0 #395

name: Verify Protobuf Well-Known Types are Up-to-Date
on:
pull_request:
permissions:
contents: read
jobs:
verify-platforms-table:
name: Run Verification
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run Protobuf WKT Generation
run: ./gradlew :protobuf:protobuf-wkt:bufGenerateCommonMain --info --stacktrace
- name: Check if Well-Known Types are up-to-date
run: |
if [[ -n "$(git status --porcelain | grep protobuf/protobuf-wkt/)" ]]; then
echo "Well-Known Types are not up-to-date. Please run './gradlew :protobuf:protobuf-wkt:bufGenerateCommonMain' and commit changes"
git status --porcelain
git diff --minimal | cat
exit 1
fi