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 80be7c2 commit e3308f8Copy full SHA for e3308f8
action.yml
@@ -427,5 +427,15 @@ runs:
427
$uv_args = $uv_args | append '-v'
428
}
429
430
+ let local_bin = '~/.local/bin' | path expand
431
+ let tmp_path = if (
432
+ ('${{ runner.os }}' == 'Linux')
433
+ and ($local_bin | path exists)
434
+ and (not ($env.PATH | any {$in == $local_bin}))
435
+ ) {
436
+ # add ~/.local/bin to PATH (temporarily)
437
+ $env.PATH = $env.PATH | append $local_bin
438
+ }
439
+
440
print $"\n(ansi purple)Running cpp-linter(ansi reset)"
441
^$'($env.UV_INSTALL_DIR)/uv' ...$uv_args cpp-linter ...$args
0 commit comments