NO-JIRA: Update cache, checkout and setup-java github actions to version 4 (#241)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3631cd7..a943b14 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,15 +27,15 @@
         java: [ 11, 17, 21 ]
 
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/cache@v3
+      - uses: actions/checkout@v4
+      - uses: actions/cache@v4
         with:
           path: ~/.m2/repository
           key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
             ${{ runner.os }}-maven-
       - name: Install JDK ${{ matrix.java }}
-        uses: actions/setup-java@v3
+        uses: actions/setup-java@v4
         with:
           java-version: ${{ matrix.java }}
           distribution: 'temurin'
@@ -68,4 +68,4 @@
           path: surefire-reports-jdk-${{ matrix.java }}.tar.gz
 
       - name: Clean Up Before Caching
-        run: rm -rf ~/.m2/repository/org/apache/qpid
\ No newline at end of file
+        run: rm -rf ~/.m2/repository/org/apache/qpid