@@ -17,14 +17,14 @@ concurrency:
1717 cancel-in-progress : true
1818jobs :
1919 testUI :
20- runs-on : ubuntu-latest
20+ runs-on : cx-public- ubuntu-x64
2121 steps :
2222 # Check out current repository
2323 - name : Fetch Sources
24- uses : actions/checkout@v4
24+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2525 # Setup Java 11 environment for the next steps
2626 - name : Setup Java
27- uses : actions/setup-java@v3.13.0
27+ uses : actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
2828 with :
2929 distribution : zulu
3030 java-version : 11
@@ -60,29 +60,29 @@ jobs:
6060 # Save report if tests fail
6161 - name : Save fails report
6262 if : ${{ failure() }}
63- uses : actions/upload-artifact@v4
63+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6464 with :
6565 name : test-fails-report
6666 path : |
6767 build/reports
6868 # Save idea log if tests fail
6969 - name : Save idea log
7070 if : ${{ failure() }}
71- uses : actions/upload-artifact@v4
71+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7272 with :
7373 name : idea.log
7474 path : |
7575 idea.log
7676
7777 testUnit :
78- runs-on : ubuntu-latest
78+ runs-on : cx-public- ubuntu-x64
7979 steps :
8080 # Check out current repository
8181 - name : Fetch Sources
82- uses : actions/checkout@v4
82+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
8383 # Setup Java 11 environment for the next steps
8484 - name : Setup Java
85- uses : actions/setup-java@v3.13.0
85+ uses : actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
8686 with :
8787 distribution : zulu
8888 java-version : 11
@@ -108,14 +108,14 @@ jobs:
108108
109109 # Save coverage report as an artifact
110110 - name : Upload Coverage Report
111- uses : actions/upload-artifact@v4
111+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
112112 with :
113113 name : unit-coverage-report
114114 path : plugin-checkmarx-ast/build/reports/jacoco/test/html/
115115 # Save report if tests fail
116116 - name : Save fails report
117117 if : ${{ failure() }}
118- uses : actions/upload-artifact@v4
118+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
119119 with :
120120 name : test-fails-report-unit
121121 path : |
@@ -124,14 +124,14 @@ jobs:
124124 plugin-checkmarx-devassist/build/reports/tests
125125
126126 testIntegration :
127- runs-on : ubuntu-latest
127+ runs-on : cx-public- ubuntu-x64
128128 steps :
129129 # Check out current repository
130130 - name : Fetch Sources
131- uses : actions/checkout@v4
131+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
132132 # Setup Java 11 environment for the next steps
133133 - name : Setup Java
134- uses : actions/setup-java@v3.13.0
134+ uses : actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
135135 with :
136136 distribution : zulu
137137 java-version : 11
@@ -153,14 +153,14 @@ jobs:
153153
154154 # Save coverage report as an artifact
155155 - name : Upload Coverage Report
156- uses : actions/upload-artifact@v4
156+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
157157 with :
158158 name : integration-coverage-report
159159 path : plugin-checkmarx-ast/build/reports/jacoco/test/html/
160160 # Save report if tests fail
161161 - name : Save fails report
162162 if : ${{ failure() }}
163- uses : actions/upload-artifact@v4
163+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
164164 with :
165165 name : test-fails-report-integration
166166 path : |
0 commit comments