File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -300,12 +300,15 @@ jobs:
300300
301301 Get-EventLog -LogName Application -Source ModSecurity | Format-List
302302
303+ - name : Install go-ftw
304+ shell : pwsh
305+ run : |
306+ go install github.com/coreruleset/go-ftw@latest
307+
303308 - name : Test ModSecurity Rules
304309 shell : pwsh
305310 run : |
306311 $testRuleDir = "C:\Program Files\ModSecurity IIS\coreruleset\tests\regression\tests"
307-
308- go install github.com/coreruleset/go-ftw@latest
309312 $goBinPath = ""
310313 if ($env:GOBIN) {
311314 $goBinPath = $env:GOBIN
@@ -314,5 +317,6 @@ jobs:
314317 } else {
315318 $goBinPath = Join-Path $env:USERPROFILE "go\bin"
316319 }
317- & "$goBinPath\go-ftw.exe" -d $testRuleDir --cloud -e 920380-1 --show-failures-only
320+
321+ & "$goBinPath\go-ftw.exe" run -d $testRuleDir --cloud -e 920380-1 --show-failures-only
318322
You can’t perform that action at this time.
0 commit comments