diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 8ef1449..904bd55 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,10 +17,11 @@ jobs:
       - uses: actions/checkout@v4
         with:
           fetch-depth: 0
-      - uses: wagoid/commitlint-github-action@v4
+      - uses: wagoid/commitlint-github-action@v6
       - name: Set up JDK ${{ matrix.java }}
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v4
         with:
+          distribution: corretto
           java-version: ${{ matrix.java }}
       - run: rm -rf /tmp/*
         continue-on-error: true