Skip to content

Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 4.0.6 to 4.1.0 in /chapter4/knative-springboot #2

Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 4.0.6 to 4.1.0 in /chapter4/knative-springboot

Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 4.0.6 to 4.1.0 in /chapter4/knative-springboot #2

name: Dependabot Java 21 Build
on:
pull_request:
paths:
- 'chapter4/knative-springboot/**'
branches:
- main
jobs:
build-java21-dependabot:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Java 21
uses: actions/setup-java@v5
with:
java-version: 21
distribution: temurin
cache: maven
- name: Build knative-springboot with Java 21
working-directory: chapter4/knative-springboot
run: ./mvnw -B clean verify
- name: Comment on PR
if: success()
uses: actions/github-script@v9
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '✅ Java 21 build successful for knative-springboot project'
})
# Made with Bob