We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f53e50 commit e6192b8Copy full SHA for e6192b8
.github/workflows/test-ci-windows.yml
@@ -306,6 +306,13 @@ jobs:
306
$testRuleDir = "C:\Program Files\ModSecurity IIS\coreruleset\tests\regression\tests"
307
308
go install github.com/coreruleset/go-ftw@latest
309
- cd go\bin
310
- & go-ftw.exe -d $testRuleDir --cloud -e 920380-1 --show-failures-only
+ $goBinPath = ""
+ if ($env:GOBIN) {
311
+ $goBinPath = $env:GOBIN
312
+ } elseif ($env:GOPATH) {
313
+ $goBinPath = Join-Path $env:GOPATH "bin"
314
+ } else {
315
+ $goBinPath = Join-Path $env:USERPROFILE "go\bin"
316
+ }
317
+ & "$goBinPath\go-ftw.exe" -d $testRuleDir --cloud -e 920380-1 --show-failures-only
318
0 commit comments