Update GitHub CI workflows for Copybara PRs on the 'google' branch #1
Workflow file for this run
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: Build validation | |
on: | |
pull_request: | |
branches: [ google ] | |
paths-ignore: | |
- '**.md' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- uses: gradle/gradle-build-action@v2 | |
- name: Build | |
run: | | |
SKIP_ERRORPRONE=true SKIP_JAVADOC=true \ | |
./gradlew clean assemble testClasses --parallel --stacktrace --no-watch-fs |