Dependency Report #1
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 Report | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| report: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v6 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| # Report-only: versions-maven-plugin never fails the build, it only prints | |
| # what's outdated. No pull requests, no issues - just a workflow summary. | |
| - name: Report outdated dependencies & plugins | |
| run: | | |
| { | |
| echo "## Outdated dependencies & plugins" | |
| echo | |
| echo '```text' | |
| mvn --batch-mode --file pom.xml versions:display-dependency-updates versions:display-plugin-updates | |
| echo '```' | |
| } >> "$GITHUB_STEP_SUMMARY" |