@@ -32,13 +32,13 @@ jobs:
3232 arch : [amd64]
3333 steps :
3434 - name : Checkout newrelic-php-agent code
35- uses : actions/checkout@v4
35+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
3636 with :
3737 path : php-agent
3838 repository : ${{ inputs.origin }}/newrelic-php-agent
3939 ref : ${{ inputs.ref }}
4040 - name : Login to Docker Hub
41- uses : docker/login-action@v3
41+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # 4.0.0
4242 with :
4343 username : ${{ secrets.DOCKERHUB_USERNAME }}
4444 password : ${{ secrets.DOCKERHUB_TOKEN }}
5555 -v "${GITHUB_WORKSPACE}/php-agent":"/usr/local/src/newrelic-php-agent"
5656 $IMAGE_NAME:$IMAGE_TAG-${{ matrix.platform }}-$IMAGE_VERSION daemon_test
5757 - name : Save integration_runner for integration tests
58- uses : actions/upload-artifact@v4
58+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # 7.0.0
5959 with :
6060 name : integration_runner-${{matrix.platform}}-${{matrix.arch}}
6161 path : php-agent/bin/integration_runner
@@ -77,13 +77,13 @@ jobs:
7777 codecov : 1
7878 steps :
7979 - name : Checkout Repo
80- uses : actions/checkout@v4
80+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
8181 with :
8282 path : php-agent
8383 repository : ${{ inputs.origin }}/newrelic-php-agent
8484 ref : ${{ inputs.ref }}
8585 - name : Login to Docker Hub
86- uses : docker/login-action@v3
86+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # 4.0.0
8787 with :
8888 username : ${{ secrets.DOCKERHUB_USERNAME }}
8989 password : ${{ secrets.DOCKERHUB_TOKEN }}
@@ -124,19 +124,19 @@ jobs:
124124 -e ENABLE_COVERAGE=${{matrix.codecov}}
125125 $IMAGE_NAME:$IMAGE_TAG-${{matrix.php}}-${{matrix.platform}}-$IMAGE_VERSION make agent-check
126126 - name : Save newrelic.so for integration tests
127- uses : actions/upload-artifact@v4
127+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # 7.0.0
128128 with :
129129 name : newrelic.so-${{matrix.platform}}-${{matrix.arch}}-${{matrix.php}}
130130 path : php-agent/agent/modules/newrelic.so
131131 - name : Save axiom gcov data files (*.gcno, *.gcna)
132132 if : ${{ matrix.codecov == 1 }}
133- uses : actions/upload-artifact@v4
133+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # 7.0.0
134134 with :
135135 name : axiom.gcov-${{matrix.platform}}-${{matrix.arch}}-${{matrix.php}}
136136 path : php-agent/axiom/*.gc*
137137 - name : Save agent gcov data files (*.gcno, *.gcna)
138138 if : ${{ matrix.codecov == 1 }}
139- uses : actions/upload-artifact@v4
139+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # 7.0.0
140140 with :
141141 name : agent.gcov-${{matrix.platform}}-${{matrix.arch}}-${{matrix.php}}
142142 path : php-agent/agent/.libs/*.gc*
@@ -155,30 +155,30 @@ jobs:
155155 codecov : 1
156156 steps :
157157 - name : Checkout integration tests
158- uses : actions/checkout@v4
158+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
159159 with :
160160 path : php-agent
161161 repository : ${{ inputs.origin }}/newrelic-php-agent
162162 ref : ${{ inputs.ref }}
163163 - name : Get integration_runner
164- uses : actions/download-artifact@v4
164+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # 8.0.0
165165 with :
166166 name : integration_runner-${{matrix.platform}}-${{matrix.arch}}
167167 path : php-agent/bin
168168 - name : Get newrelic.so
169- uses : actions/download-artifact@v4
169+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # 8.0.0
170170 with :
171171 name : newrelic.so-${{matrix.platform}}-${{matrix.arch}}-${{matrix.php}}
172172 path : php-agent/agent/modules
173173 - name : Get axiom gcov data files
174174 if : ${{ matrix.codecov == 1 }}
175- uses : actions/download-artifact@v4
175+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # 8.0.0
176176 with :
177177 name : axiom.gcov-${{matrix.platform}}-${{matrix.arch}}-${{matrix.php}}
178178 path : php-agent/axiom
179179 - name : Get agent gcov data files
180180 if : ${{ matrix.codecov == 1 }}
181- uses : actions/download-artifact@v4
181+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # 8.0.0
182182 with :
183183 name : agent.gcov-${{matrix.platform}}-${{matrix.arch}}-${{matrix.php}}
184184 path : php-agent/agent/.libs
@@ -187,7 +187,7 @@ jobs:
187187 chmod 755 php-agent/bin/integration_runner
188188 chmod 755 php-agent/agent/modules/newrelic.so
189189 - name : Login to Docker Hub
190- uses : docker/login-action@v3
190+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # 4.0.0
191191 with :
192192 username : ${{ secrets.DOCKERHUB_USERNAME }}
193193 password : ${{ secrets.DOCKERHUB_TOKEN }}
@@ -250,7 +250,7 @@ jobs:
250250 echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
251251 - name : Upload coverage reports to Codecov
252252 if : ${{ matrix.codecov == 1 }}
253- uses : codecov/codecov-action@v3.1.5
253+ uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # 5.5.2
254254 with :
255255 token : ${{ secrets.CODECOV_TOKEN }}
256256 working-directory : ./php-agent
0 commit comments