Files
sdkman-cli/.github/workflows/pr.yml
2025-12-12 09:55:55 +00:00

22 lines
673 B
YAML

name: Pull Requests
#run only on PR, not fork. Pull request that way the PR submitter will not have access to the repo credentials
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- name: Run with Gradle
run: ./gradlew clean test --info
- uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: ".github/auto_assign.yml"