diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml new file mode 100644 index 0000000..95cce8b --- /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@v2 diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 0000000..0a77f2a --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,29 @@ +name: 'Verify' + +on: + push: + branches-ignore: + - gh-pages + pull_request: + branches: + - '*' + +jobs: + build-and-verify: + runs-on: 'ubuntu-latest' + steps: + - uses: actions/checkout@v4 + - name: 'Set up JDK 8' + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 8 + - name: 'Set up JDK 21' + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 21 + - name: 'Build' + uses: gradle/gradle-build-action@v3 + with: + arguments: "build"