From 0f7612aef2ea6d9f16f4f901014d4026af60d8bc Mon Sep 17 00:00:00 2001 From: johannes Date: Sun, 25 Feb 2024 21:58:43 +0100 Subject: [PATCH] Add some github workflows --- .../workflows/gradle-wrapper-validation.yml | 10 +++++++++ .github/workflows/gradle.yml | 21 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/gradle-wrapper-validation.yml create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml new file mode 100644 index 0000000..b63fdf3 --- /dev/null +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -0,0 +1,10 @@ +name: "Validate Gradle Wrapper" +on: [push, pull_request] + +jobs: + validation: + name: "Validation" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..675a469 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,21 @@ +name: Java CI with Gradle + +on: [ "push", "pull_request" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-java@v3 + name: Set up JDK 17 + with: + java-version: '17' + distribution: 'temurin' + + - uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Build the project + run: ./gradlew buildPlugin