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