From 8324f5d0bbca03702c1051a4c21b721c93556708 Mon Sep 17 00:00:00 2001 From: Adam Jordens Date: Mon, 13 Jan 2020 11:16:58 -0800 Subject: [PATCH] feat(*): Github Actions for PR builds (#583) --- .github/workflows/pr.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 000000000..3fa5a307a --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,23 @@ +name: PR + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - uses: actions/cache@v1 + with: + path: ~/.gradle + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + restore-keys: | + ${{ runner.os }}-gradle- + - name: Build + env: + GRADLE_OPTS: -Xmx6g -Xms6g -Dorg.gradle.daemon=false + run: ./gradlew build