ci: Test upper bound dependenices file in Github CI #2
Workflow file for this run
This file contains hidden or 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: Dependency Compatibility Test | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
schedule: | |
- cron: '0 1 * * *' # Nightly at 1am | |
jobs: | |
dependency-compatibility-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: maven | |
# Run in the root module which should test for everything barring showcase | |
- name: Perform Dependency Compatibility Testing | |
run: ./.github/scripts/test_dependency_compatibility.sh dependencies.txt | |
# Run for the Showcase tests | |
- name: Perform Dependency Compatibility Testing (Showcase) | |
run: ../.github/scripts/test_dependency_compatibility.sh dependencies.txt | |
working-directory: java-showcase |