Skip to content
Merged
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
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2.1

jobs:
build:
docker:
- image: cimg/openjdk:21.0.9

environment:
JVM_OPTS: -Xmx3200m
TERM: dumb

steps:
- checkout

- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
- v1-dependencies-

- run: gradle dependencies

- save_cache:
paths:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}
Comment on lines +17 to +25
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The cache key uses build.gradle, but this project uses build.gradle.kts (Kotlin DSL). Update the checksum references to use build.gradle.kts instead to ensure proper cache invalidation when the build file changes.

Copilot uses AI. Check for mistakes.

- run: gradle test
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The test command runs gradle test, but based on the existing GitHub Actions workflow and the project's build configuration, it should run ./gradlew shadowJar to build the application artifact. The shadowJar task is the primary build task that creates the deployable JAR file.

Suggested change
- run: gradle test
- run: ./gradlew shadowJar

Copilot uses AI. Check for mistakes.
Comment on lines +20 to +27
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The configuration uses gradle directly instead of the Gradle wrapper (./gradlew). For consistency with the existing GitHub Actions workflow and to ensure the correct Gradle version is used, these commands should use ./gradlew instead.

Suggested change
- run: gradle dependencies
- save_cache:
paths:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}
- run: gradle test
- run: ./gradlew dependencies
- save_cache:
paths:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}
- run: ./gradlew test

Copilot uses AI. Check for mistakes.

workflows:
build:
jobs:
- shadowJar
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The workflow references the job shadowJar, but the only defined job is named build. This mismatch will cause the workflow to fail. Change shadowJar to build to reference the correct job.

Suggested change
- shadowJar
- build

Copilot uses AI. Check for mistakes.
Loading