Run tests on JDK 22 & 23 #373
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
# See: https://github.com/gradle/actions/blob/main/docs/dependency-submission.md#usage-with-pull-requests-from-public-forked-repositories | |
name: Generate and save dependency graph | |
on: | |
pull_request: | |
# Configure GitHub Actions cancel in progress workflow to avoid redundant runs in pull requests. | |
# See: https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ !contains(github.ref, 'heads/master')}} | |
permissions: | |
contents: read # 'write' permission is not available | |
jobs: | |
dependency-submission: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Generate and save dependency graph | |
uses: gradle/actions/dependency-submission@v4 | |
with: | |
dependency-graph: generate-and-upload |