1313 No inputs
1414 strategy :
1515 matrix :
16- os : [ ubuntu-latest-large , macos-latest ]
16+ os : [ github- ubuntu-latest-s , macos-latest ]
1717 runs-on : ${{ matrix.os }}
1818 steps :
1919 - uses : actions/checkout@v5
3232 'args' input
3333 strategy :
3434 matrix :
35- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
35+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
3636 runs-on : ${{ matrix.os }}
3737 steps :
3838 - uses : actions/checkout@v5
5555 'args' input with command injection will fail
5656 strategy :
5757 matrix :
58- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
58+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
5959 args : [ -Dsonar.someArg=aValue && echo "Injection", -Dsonar.someArg="value\"; whoami; echo \"" ]
6060 runs-on : ${{ matrix.os }}
6161 steps :
8181 'args' input with backticks injection does not execute command
8282 strategy :
8383 matrix :
84- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
84+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
8585 runs-on : ${{ matrix.os }}
8686 steps :
8787 - uses : actions/checkout@v5
@@ -109,7 +109,7 @@ jobs:
109109 'args' input with dollar command injection does not execute command
110110 strategy :
111111 matrix :
112- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
112+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
113113 runs-on : ${{ matrix.os }}
114114 steps :
115115 - uses : actions/checkout@v5
@@ -136,7 +136,7 @@ jobs:
136136 'args' input with other command injection variants does not execute command
137137 strategy :
138138 matrix :
139- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
139+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
140140 runs-on : ${{ matrix.os }}
141141 steps :
142142 - uses : actions/checkout@v5
@@ -166,7 +166,7 @@ jobs:
166166 'projectBaseDir' input
167167 strategy :
168168 matrix :
169- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
169+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
170170 runs-on : ${{ matrix.os }}
171171 steps :
172172 - uses : actions/checkout@v5
@@ -187,7 +187,7 @@ jobs:
187187 scannerVersionTest :
188188 name : >
189189 'scannerVersion' input
190- runs-on : ubuntu-latest-large # assumes default RUNNER_ARCH for linux is X64
190+ runs-on : github- ubuntu-latest-s # assumes default RUNNER_ARCH for linux is X64
191191 steps :
192192 - uses : actions/checkout@v5
193193 with :
@@ -207,7 +207,7 @@ jobs:
207207 scannerBinariesUrlTest :
208208 name : >
209209 'scannerBinariesUrl' input with invalid URL
210- runs-on : ubuntu-latest-large # assumes default RUNNER_ARCH for linux is X64
210+ runs-on : github- ubuntu-latest-s # assumes default RUNNER_ARCH for linux is X64
211211 steps :
212212 - uses : actions/checkout@v5
213213 with :
@@ -235,7 +235,7 @@ jobs:
235235 scannerBinariesUrlIsEscapedWithWget :
236236 name : >
237237 'scannerBinariesUrl' is escaped with wget so special chars are not injected in the download command
238- runs-on : ubuntu-latest-large
238+ runs-on : github- ubuntu-latest-s
239239 steps :
240240 - uses : actions/checkout@v5
241241 with :
@@ -256,7 +256,7 @@ jobs:
256256 scannerBinariesUrlIsEscapedWithCurl :
257257 name : >
258258 'scannerBinariesUrl' is escaped with curl so special chars are not injected in the download command
259- runs-on : ubuntu-latest-large
259+ runs-on : github- ubuntu-latest-s
260260 steps :
261261 - uses : actions/checkout@v5
262262 with :
@@ -285,7 +285,7 @@ jobs:
285285 dontFailGradleTest :
286286 name : >
287287 Don't fail on Gradle project
288- runs-on : ubuntu-latest-large
288+ runs-on : github- ubuntu-latest-s
289289 steps :
290290 - uses : actions/checkout@v5
291291 with :
@@ -306,7 +306,7 @@ jobs:
306306 dontFailGradleKotlinTest :
307307 name : >
308308 Don't fail on Kotlin Gradle project
309- runs-on : ubuntu-latest-large
309+ runs-on : github- ubuntu-latest-s
310310 steps :
311311 - uses : actions/checkout@v5
312312 with :
@@ -327,7 +327,7 @@ jobs:
327327 dontFailMavenTest :
328328 name : >
329329 Don't fail on Maven project
330- runs-on : ubuntu-latest-large
330+ runs-on : github- ubuntu-latest-s
331331 steps :
332332 - uses : actions/checkout@v5
333333 with :
@@ -346,7 +346,7 @@ jobs:
346346 run : |
347347 ./test/assertFileExists ./output.properties
348348 runAnalysisTest :
349- runs-on : ubuntu-latest-large
349+ runs-on : github- ubuntu-latest-s
350350 services :
351351 sonarqube :
352352 image : sonarqube:lts-community
@@ -381,7 +381,7 @@ jobs:
381381 'RUNNER_DEBUG' is used
382382 strategy :
383383 matrix :
384- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
384+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
385385 runs-on : ${{ matrix.os }}
386386 steps :
387387 - uses : actions/checkout@v5
@@ -399,7 +399,7 @@ jobs:
399399 run : |
400400 ./test/assertFileContains ./output.properties "sonar.verbose=true"
401401 runAnalysisWithCacheTest :
402- runs-on : ubuntu-latest-large
402+ runs-on : github- ubuntu-latest-s
403403 services :
404404 sonarqube :
405405 image : sonarqube:lts-community
@@ -440,7 +440,7 @@ jobs:
440440 'SONARCLOUD_URL' is used
441441 strategy :
442442 matrix :
443- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
443+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
444444 runs-on : ${{ matrix.os }}
445445 steps :
446446 - uses : actions/checkout@v5
@@ -459,7 +459,7 @@ jobs:
459459 ./test/assertFileContains ./output.properties "sonar.scanner.sonarcloudUrl=mirror.sonarcloud.io"
460460 dontFailWhenMissingWgetButCurlAvailable :
461461 name : Don't fail when missing wget but curl available
462- runs-on : ubuntu-latest-large
462+ runs-on : github- ubuntu-latest-s
463463 steps :
464464 - uses : actions/checkout@v5
465465 with :
@@ -485,7 +485,7 @@ jobs:
485485 ./test/assertFileExists ./output.properties
486486 dontFailWhenMissingCurlButWgetAvailable :
487487 name : Don't fail when missing curl but wget available
488- runs-on : ubuntu-latest-large
488+ runs-on : github- ubuntu-latest-s
489489 steps :
490490 - uses : actions/checkout@v5
491491 with :
@@ -512,7 +512,7 @@ jobs:
512512 ./test/assertFileExists ./output.properties
513513 failWhenBothWgetAndCurlMissing :
514514 name : Fail when both wget and curl are missing
515- runs-on : ubuntu-latest-large
515+ runs-on : github- ubuntu-latest-s
516516 steps :
517517 - uses : actions/checkout@v5
518518 with :
@@ -545,7 +545,7 @@ jobs:
545545 curlPerformsRedirect :
546546 name : >
547547 curl performs redirect when scannerBinariesUrl returns 3xx
548- runs-on : ubuntu-latest-large
548+ runs-on : github- ubuntu-latest-s
549549 steps :
550550 - uses : actions/checkout@v5
551551 with :
@@ -579,7 +579,7 @@ jobs:
579579 'SONAR_ROOT_CERT' is converted to truststore
580580 strategy :
581581 matrix :
582- os : [ ubuntu-latest-large, windows-latest-large , macos-latest ]
582+ os : [ github- ubuntu-latest-s, github- windows-latest-s , macos-latest ]
583583 runs-on : ${{ matrix.os }}
584584 steps :
585585 - uses : actions/checkout@v5
@@ -631,7 +631,7 @@ jobs:
631631 analysisWithSslCertificate :
632632 name : >
633633 Analysis takes into account 'SONAR_ROOT_CERT'
634- runs-on : ubuntu-latest-large
634+ runs-on : github- ubuntu-latest-s
635635 steps :
636636 - uses : actions/checkout@v5
637637 with :
@@ -739,7 +739,7 @@ jobs:
739739 overridesScannerLocalFolderWhenPresent : # can happen in uncleaned self-hosted runners
740740 name : >
741741 'SCANNER_LOCAL_FOLDER' is cleaned with warning when present
742- runs-on : ubuntu-latest-large
742+ runs-on : github- ubuntu-latest-s
743743 steps :
744744 - uses : actions/checkout@v5
745745 with :
@@ -773,7 +773,7 @@ jobs:
773773 updateTruststoreWhenPresent : # can happen in uncleaned self-hosted runners
774774 name : >
775775 truststore.p12 is updated when present
776- runs-on : ubuntu-latest-large
776+ runs-on : github- ubuntu-latest-s
777777 steps :
778778 - uses : actions/checkout@v5
779779 with :
@@ -902,7 +902,7 @@ jobs:
902902 scannerVersionValidationTest :
903903 name : >
904904 'scannerVersion' input validation
905- runs-on : ubuntu-latest-large
905+ runs-on : github- ubuntu-latest-s
906906 steps :
907907 - uses : actions/checkout@v5
908908 with :
0 commit comments