Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 118 additions & 52 deletions .github/copilot-instructions.md

Large diffs are not rendered by default.

39 changes: 30 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
version: 2
updates:
- package-ecosystem: maven
directories:
- "/example/"
schedule:
interval: daily
time: "23:30"
open-pull-requests-limit: 10
reviewers:
- devs-from-matrix/app-generator-team
- package-ecosystem: maven
directories:
- "/example/"
schedule:
interval: daily
time: "23:30"
open-pull-requests-limit: 10
commit-message:
prefix: "build: "
assignees:
- paul58914080
labels:
- dependencies
- automated
reviewers:
- devs-from-matrix/app-generator-team
- package-ecosystem: github-actions
directory: "/.github/"
schedule:
interval: weekly
open-pull-requests-limit: 5
commit-message:
prefix: "ci: "
assignees:
- paul58914080
labels:
- ci
- automated
reviewers:
- devs-from-matrix/app-generator-team
8 changes: 4 additions & 4 deletions .github/workflows/ci-for-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
java-version: 25
- name: Cache Maven dependencies
uses: actions/cache@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-from-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
# checkout the pull request head ref when available, otherwise fallback to the workflow ref
ref: ${{ github.head_ref || github.ref }}
Expand Down Expand Up @@ -46,11 +46,11 @@ jobs:
run: |
echo "Working dir: $(pwd)"
ls -la ./cart-service
- name: Set up JDK 21
uses: actions/setup-java@v4
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
java-version: 25
- name: Cache Maven dependencies
uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is a template project for hexagonal-spring-boot-java. This project is gener
## Pre-requisites

- [copier](https://copier.readthedocs.io/en/stable/#installation)
- Jdk 21
- Jdk 25
- Maven >3.9.5

## How to contribute ?
Expand Down
23 changes: 15 additions & 8 deletions example/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
time: "23:30"
open-pull-requests-limit: 10
assignees:
- paul58914080
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
time: "23:30"
open-pull-requests-limit: 10
commit-message:
prefix: "build: "
- package-ecosystem: github-actions
directory: "/.github/"
schedule:
interval: weekly
open-pull-requests-limit: 5
commit-message:
prefix: "ci: "
8 changes: 4 additions & 4 deletions example/.github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The java-version is still set to 21, but the step name was changed to "Set up JDK 25" and the pom.xml has been updated to Java 25. This inconsistency will cause the workflow to use Java 21 instead of Java 25, which defeats the purpose of this upgrade. Update the java-version to 25 to match the intended upgrade.

Suggested change
java-version: 21
java-version: 25

Copilot uses AI. Check for mistakes.
- name: Cache Maven dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>21</java.version>
<java.version>25</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<junit-jupiter.version>6.0.1</junit-jupiter.version>
Expand Down