Bump com.google.api.grpc:proto-google-common-protos from 2.42.0 to 2.50.0 #612
This file contains 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 Codebase | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Verify Codebase | |
runs-on: ubuntu-latest | |
env: | |
MVN: ./mvnw --show-version --batch-mode | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
id: setup-jdk | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Install | |
id: install | |
run: $MVN install -Pexamples | |
format-check: | |
name: Check Code Formatting | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Format Source | |
run: "mvn -B clean install -DskipTests formatter:format -Pexamples" | |
- name: Check for changes | |
run: | | |
[ -z "$(git status --porcelain=v1 2>/dev/null)" ] || (echo -e "::error ::Changes have been found\n$(git diff)" && exit 1) |