add gradle/jdk deps to pr checks #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |