@@ -39,17 +39,17 @@ jobs:
3939 jobCount : 4
4040 coverageEnabled : ${{ secrets.SONAR_CLOUD_TOKEN != '' }}
4141 steps :
42- - uses : actions/checkout@v4
42+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4343 with :
4444 ref : ${{ github.event.pull_request.head.ref }}
4545 fetch-depth : 0
4646
47- - uses : actions/setup-node@v4
47+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4848 with :
4949 node-version : 22.15.0
5050 - name : Cache Node Modules
5151 id : npm-cache
52- uses : actions/cache@v4
52+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
5353 with :
5454 path : ' **/node_modules'
5555 key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
7676
7777 - name : Upload Coverage Reports
7878 if : ${{ env.coverageEnabled == 'true' }}
79- uses : actions/upload-artifact@v4
79+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8080 with :
8181 name : coverage-${{ matrix.jobIndex }}
8282 path : coverage/
@@ -122,7 +122,7 @@ jobs:
122122 fi
123123
124124 - name : Checkout
125- uses : actions/checkout@v4
125+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
126126 with :
127127 fetch-depth : 0
128128
@@ -139,7 +139,7 @@ jobs:
139139 cat sonar-project.properties
140140
141141 - name : download coverage report
142- uses : actions/download-artifact@v4
142+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
143143 with :
144144 path : ./coverage
145145 pattern : coverage-*
@@ -177,6 +177,6 @@ jobs:
177177 fi
178178
179179 - name : SonarQube Scan
180- uses : SonarSource/sonarqube-scan-action@v6
180+ uses : SonarSource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995 # v8.1.0
181181 env :
182182 SONAR_TOKEN : ${{ secrets.SONAR_CLOUD_TOKEN }}
0 commit comments