File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 31
31
- name : 🔓 Disable Windows Defender
32
32
if : runner.os == 'Windows'
33
33
shell : powershell
34
- run : Set-MpPreference -DisableRealtimeMonitoring $true
34
+ run : |
35
+ Set-MpPreference -DisableRealtimeMonitoring $true
36
+ # Exclude Bun directories from scanning
37
+ Add-MpPreference -ExclusionPath "$env:WINDOWS_USERPROFILE\.bun"
38
+ Add-MpPreference -ExclusionPath "$env:RUNNER_TEMP"
39
+ Add-MpPreference -ExclusionPath "$env:GITHUB_WORKSPACE"
35
40
36
41
- name : 🛜 Network tweaks for Windows
37
42
if : runner.os == 'Windows'
43
48
# Disable IPv6 (https://github.com/oven-sh/bun/issues/4938#issuecomment-1720172113)
44
49
Get-NetAdapterBinding -ComponentID ms_tcpip6 | ForEach-Object { Disable-NetAdapterBinding -InterfaceAlias $_.Name -ComponentID ms_tcpip6 }
45
50
51
+ # Optimize TCP settings
52
+ netsh int tcp set global autotuninglevel=normal
53
+ netsh int tcp set global chimney=enabled
54
+ netsh int tcp set global rss=enabled
55
+ netsh int tcp set global netdma=enabled
56
+ netsh int tcp set global ecncapability=enabled
57
+
58
+ # Increase concurrent TCP connections
59
+ Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -Name "MaxUserPort" -Value 65534 -Type DWord
60
+ Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -Name "TcpTimedWaitDelay" -Value 30 -Type DWord
61
+
46
62
- name : 📥 Checkout
47
63
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48
64
with :
You can’t perform that action at this time.
0 commit comments