From ff7af6c77ba58068dde8738623bcad8173fdd8bf Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 7 May 2024 14:11:51 -0700 Subject: [PATCH] Add presubmit workflow --- .github/workflows/presubmit.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/presubmit.yml diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml new file mode 100644 index 00000000..2a7ef4e6 --- /dev/null +++ b/.github/workflows/presubmit.yml @@ -0,0 +1,21 @@ +name: Presubmit + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: 17 + - uses: gradle/actions/setup-gradle@v3 + - run: ./gradlew build