Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Configure jenv
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
jenv add ${JAVA_HOME_25_X64}
- name: Install Hadolint and add to PATH
run: |
sh bin/install-hadolint.sh
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Configure jenv
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
jenv add ${JAVA_HOME_25_X64}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Configure jenv
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
jenv add ${JAVA_HOME_25_X64}
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Get Date
id: get-date
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
- uses: actions/setup-java@v5
if: ${{ matrix.language == 'java' }}
with:
distribution: 'corretto'
java-version: 21
cache: 'gradle'
distribution: "corretto"
java-version-file: "backend/.java-version"
cache: "gradle"
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Configure jenv
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
jenv add ${JAVA_HOME_25_X64}
- name: Install Hadolint and add to PATH
run: |
sh bin/install-hadolint.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.boot-jar.outputs.cache-hit != 'true'
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
jenv add ${JAVA_HOME_25_X64}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
distribution: "temurin"
java-version-file: "backend/.java-version"
cache: "gradle"
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you are not sure how to begin contributing to GitactionBoard, have a look at
### Prerequisites

- [jEnv](https://www.jenv.be/)
- Java 21
- Java 25
- [Docker](https://www.docker.com/)
- [Hadolint](https://github.com/hadolint/hadolint)
- [ShellCheck](https://www.shellcheck.net/)
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amazoncorretto:21-alpine AS corretto-deps
FROM amazoncorretto:25-alpine AS corretto-deps

COPY ./backend/build/libs/gitactionboard.jar /app/

Expand All @@ -12,7 +12,7 @@ RUN unzip /app/gitactionboard.jar -d temp && \
--module-path="./temp/BOOT-INF/lib/*" \
/app/gitactionboard.jar > /modules.txt

FROM amazoncorretto:21-alpine AS corretto-jdk
FROM amazoncorretto:25-alpine AS corretto-jdk

COPY --from=corretto-deps /modules.txt /modules.txt

Expand Down
2 changes: 1 addition & 1 deletion backend/.java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.0
25.0
Loading