Skip to content

Added PR workflow

Added PR workflow #1

Workflow file for this run

---
name: Run Tests
on:
pull_request:
types:
- labeled
jobs:
build:
if: ${{ github.event.label.name == 'queued' }}
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '21'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
- name: Run build with Gradle Wrapper
run: ./gradlew check