@@ -36,11 +36,11 @@ jobs:
36
36
runs-on : ${{ matrix.os }}
37
37
38
38
steps :
39
- - uses : actions/checkout@v4
39
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
40
40
with :
41
41
persist-credentials : false
42
42
43
- - uses : actions/setup-java@v4
43
+ - uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
44
44
with :
45
45
java-version : 21
46
46
distribution : ' zulu'
54
54
run : ./mvnw verify -e -B -V -DdistributionFileName=apache-maven
55
55
56
56
- name : Upload built Maven
57
- uses : actions/upload-artifact@v4
57
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
58
58
if : ${{ matrix.os == 'ubuntu-latest' }}
59
59
with :
60
60
name : built-maven
@@ -103,7 +103,7 @@ jobs:
103
103
echo "REPO_USER=$target_user" >> $GITHUB_ENV
104
104
105
105
- name : Checkout maven-integration-testing
106
- uses : actions/checkout@v4
106
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
107
107
with :
108
108
repository : ${{ env.REPO_USER }}/maven-integration-testing
109
109
path : maven-integration-testing/
@@ -112,21 +112,21 @@ jobs:
112
112
113
113
114
114
- name : Set up cache for ~/.m2/repository
115
- uses : actions/cache@v4
115
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
116
116
with :
117
117
path : ~/.m2/repository
118
118
key : it-m2-repo-${{ matrix.os }}-${{ hashFiles('maven-integration-testing/**/pom.xml') }}
119
119
restore-keys : |
120
120
it-m2-repo-${{ matrix.os }}-
121
121
122
122
- name : Download built Maven
123
- uses : actions/download-artifact@v4
123
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
124
124
with :
125
125
name : built-maven
126
126
path : built-maven/
127
127
128
128
- name : Set up JDK
129
- uses : actions/setup-java@v4
129
+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
130
130
with :
131
131
java-version : ${{ matrix.java }}
132
132
distribution : ' zulu'
0 commit comments