3434 branches :
3535 - ' *'
3636
37+ permissions :
38+ contents : read
39+
3740jobs :
3841 build :
3942 runs-on : ubuntu-latest
@@ -50,17 +53,17 @@ jobs:
5053
5154 steps :
5255 - name : Checkout
53- uses : actions/checkout@v4
56+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5457
5558 - name : Cache Maven packages
56- uses : actions/cache@v4
59+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
5760 with :
5861 path : ~/.m2
5962 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
6063 restore-keys : ${{ runner.os }}-m2
6164
6265 - name : Set up JDK 11 for Build
63- uses : actions/setup-java@v4
66+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
6467 with :
6568 java-version : ' 17'
6669 distribution : ' zulu'
@@ -80,20 +83,20 @@ jobs:
8083 mvn --file coherence-visualvm-tests/coherence-visualvm-tests-ce/pom.xml --batch-mode -e -Dcoherence.version=${{ matrix.version }} clean install
8184
8285 - name : Build Artifacts test logs
83- uses : actions/upload-artifact@v4
86+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8487 if : failure()
8588 with :
8689 name : test-output-${{ matrix.version }}
8790 path : coherence-visualvm-tests/**/target/test-output/**/*
8891
8992 - name : Coherence VisualVM Plugin NBM
90- uses : actions/upload-artifact@v4
93+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9194 with :
9295 name : coherence-visualvm-plugin-nbm-${{ matrix.version }}
9396 path : coherence-visualvm-plugin/target/coherence-visualvm-plugin*.nbm
9497
9598 - name : Coherence VisualVM Plugin Javadoc
96- uses : actions/upload-artifact@v4
99+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
97100 with :
98101 name : coherence-visualvm-plugin-javadoc-${{ matrix.version }}
99102 path : coherence-visualvm-plugin/target/coherence-visualvm-plugin*javadoc.jar
0 commit comments