Skip to content

Commit

Permalink
Add github actions PR check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hussein Aladeen committed Jan 11, 2024
1 parent a0fcaa9 commit e2cdb44
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e2cdb44

Please sign in to comment.