From e2cdb4413ac1aaa2dbcdf8e1efb296fc1d9bde54 Mon Sep 17 00:00:00 2001 From: Hussein Aladeen Date: Thu, 11 Jan 2024 16:37:28 +0000 Subject: [PATCH] Add github actions PR check workflow --- .github/workflows/pr_check.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pr_check.yml diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml new file mode 100644 index 0000000..7009b9e --- /dev/null +++ b/.github/workflows/pr_check.yml @@ -0,0 +1,17 @@ +name: Run Gradle on PRs +on: pull_request +jobs: + pr-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 17 + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + + - name: Execute Gradle + run: ./gradlew spotlessCheck testDebugUnitTest \ No newline at end of file