From 02eb49bd597bdd0c1efb5842933d583887f6104d Mon Sep 17 00:00:00 2001 From: Swetank Mohanty Date: Fri, 13 Mar 2026 22:10:53 +0400 Subject: [PATCH 1/2] Update GitHub Actions to use latest versions Updated `actions/setup-java`, `actions/checkout`, and `actions/upload-artifact` to latest stable versions in `.github/workflows/release.yml` Signed-off-by: Swetank Mohanty --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b402ce..904ef19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Set up JDK - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: temurin java-version: '21' @@ -112,7 +112,7 @@ jobs: git push origin HEAD - name: Upload workflow artifacts (optional) - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: maven-artifacts path: artifacts/ From aa359f498808edac42397eda7eec60b2f51334e9 Mon Sep 17 00:00:00 2001 From: Swetank Mohanty Date: Fri, 13 Mar 2026 22:18:05 +0400 Subject: [PATCH 2/2] Update CI workflow to use newer action versions Updated `actions/setup-java`, `actions/checkout`, and `actions/upload-artifact` to latest stable versions in `.github/workflows/ci.yml` Signed-off-by: Swetank Mohanty --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a5966a..e7701f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ on: branches: [ 'main' ] types: [opened, synchronize, reopened, closed] workflow_dispatch: - branches: [ 'main', 'develop', 'feature/**', 'hotfix/**', 'bugfix/**' ] permissions: contents: write @@ -35,10 +34,10 @@ jobs: run: echo "Branch name is ${{ github.head_ref }}" - name: Checkout sources - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: java-version: 21 distribution: 'temurin' @@ -49,7 +48,7 @@ jobs: run: mvn -B clean install - name: Upload build reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: maven-build-reports @@ -80,7 +79,7 @@ jobs: permissions: write-all steps: - name: Checkout sources - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: clean: 'true' @@ -124,4 +123,4 @@ jobs: print("Insufficient Coverage!") sys.exit(-1) # Cause Status Check Failure due to noncompliant coverage sys.exit(0) - shell: python \ No newline at end of file + shell: python