From c498aa7a53befc654b7e5e5b5dba2e511fcd3359 Mon Sep 17 00:00:00 2001 From: Connor Wyatt Date: Sun, 5 Nov 2023 22:11:25 +0000 Subject: [PATCH] Add check workflow --- .github/workflows/check.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..9f2ff6a --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,18 @@ +name: Check Gradle project + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build-gradle-project: + runs-on: ubuntu-latest + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Run check with Gradle Wrapper + run: ./gradlew check