Update Samples dependencies #414
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify Properties file | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify-properties: | |
| name: Run Verification | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Sources | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Run Properties Update | |
| run: ./gradlew updateProperties --info --stacktrace | |
| - name: Verify Properties | |
| run: | | |
| set -euo pipefail | |
| if [[ -n "$(git status --porcelain | grep '\.properties')" ]]; then | |
| echo "Properties file is not up-to-date. Please run `./gradlew updateProperties` and commit changes" | |
| git status --porcelain | |
| git diff --minimal | cat | |
| exit 1 | |
| fi |