Skip to content

add gradle/jdk deps to pr checks #2

add gradle/jdk deps to pr checks

add gradle/jdk deps to pr checks #2

Workflow file for this run

name: Required PR Tests
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
run-pr-tests:
runs-on: ubuntu-latest
steps:
# Check out repo under $GITHUB_WORKSPACE
- uses: actions/checkout@v4
# Download and configure gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
# Download/cache JDK
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
cache: 'gradle'
# Build and run tests
- name: build plugin
run: ./gradlew build