Skip to content

Commit a1093b0

Browse files
authored
Merge pull request rapid7#19959 from dwelch-r7/enable-longpaths
Enable longpaths
2 parents b228e3b + 557b2c7 commit a1093b0

9 files changed

+80
-0
lines changed

.github/workflows/command_shell_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ jobs:
126126
with:
127127
path: metasploit-framework
128128

129+
# https://github.com/orgs/community/discussions/26952
130+
- name: Support longpaths
131+
if: runner.os == 'Windows'
132+
run: git config --system core.longpaths true
133+
129134
- name: Setup Ruby
130135
env:
131136
BUNDLE_FORCE_RUBY_PLATFORM: true
@@ -175,6 +180,11 @@ jobs:
175180
if: always()
176181
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
177182

183+
# https://github.com/orgs/community/discussions/26952
184+
- name: Support longpaths
185+
if: runner.os == 'Windows'
186+
run: git config --system core.longpaths true
187+
178188
- name: Setup Ruby
179189
if: always()
180190
env:

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
- name: Checkout code
4646
uses: actions/checkout@v4
4747

48+
# https://github.com/orgs/community/discussions/26952
49+
- name: Support longpaths
50+
if: runner.os == 'Windows'
51+
run: git config --system core.longpaths true
52+
4853
- name: Setup Ruby
4954
uses: ruby/setup-ruby@v1
5055
with:

.github/workflows/ldap_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ jobs:
7272
docker compose build
7373
docker compose up --wait -d
7474
75+
# https://github.com/orgs/community/discussions/26952
76+
- name: Support longpaths
77+
if: runner.os == 'Windows'
78+
run: git config --system core.longpaths true
79+
7580
- name: Setup Ruby
7681
env:
7782
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
@@ -121,6 +126,11 @@ jobs:
121126
if: always()
122127
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
123128

129+
# https://github.com/orgs/community/discussions/26952
130+
- name: Support longpaths
131+
if: runner.os == 'Windows'
132+
run: git config --system core.longpaths true
133+
124134
- name: Setup Ruby
125135
if: always()
126136
env:

.github/workflows/mssql_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ jobs:
8282
- name: Checkout code
8383
uses: actions/checkout@v4
8484

85+
# https://github.com/orgs/community/discussions/26952
86+
- name: Support longpaths
87+
if: runner.os == 'Windows'
88+
run: git config --system core.longpaths true
89+
8590
- name: Setup Ruby
8691
env:
8792
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
@@ -138,6 +143,11 @@ jobs:
138143
if: always()
139144
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
140145

146+
# https://github.com/orgs/community/discussions/26952
147+
- name: Support longpaths
148+
if: runner.os == 'Windows'
149+
run: git config --system core.longpaths true
150+
141151
- name: Setup Ruby
142152
if: always()
143153
env:

.github/workflows/mysql_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ jobs:
8080
- name: Checkout code
8181
uses: actions/checkout@v4
8282

83+
# https://github.com/orgs/community/discussions/26952
84+
- name: Support longpaths
85+
if: runner.os == 'Windows'
86+
run: git config --system core.longpaths true
87+
8388
- name: Setup Ruby
8489
env:
8590
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
@@ -137,6 +142,11 @@ jobs:
137142
if: always()
138143
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
139144

145+
# https://github.com/orgs/community/discussions/26952
146+
- name: Support longpaths
147+
if: runner.os == 'Windows'
148+
run: git config --system core.longpaths true
149+
140150
- name: Setup Ruby
141151
if: always()
142152
env:

.github/workflows/postgres_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ jobs:
8282
- name: Checkout code
8383
uses: actions/checkout@v4
8484

85+
# https://github.com/orgs/community/discussions/26952
86+
- name: Support longpaths
87+
if: runner.os == 'Windows'
88+
run: git config --system core.longpaths true
89+
8590
- name: Setup Ruby
8691
env:
8792
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
@@ -139,6 +144,11 @@ jobs:
139144
if: always()
140145
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
141146

147+
# https://github.com/orgs/community/discussions/26952
148+
- name: Support longpaths
149+
if: runner.os == 'Windows'
150+
run: git config --system core.longpaths true
151+
142152
- name: Setup Ruby
143153
if: always()
144154
env:

.github/workflows/shared_meterpreter_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ jobs:
190190
path: metasploit-framework
191191
ref: ${{ inputs.metasploit_framework_commit }}
192192

193+
# https://github.com/orgs/community/discussions/26952
194+
- name: Support longpaths
195+
if: runner.os == 'Windows'
196+
run: git config --system core.longpaths true
197+
193198
- name: Setup Ruby
194199
env:
195200
BUNDLE_FORCE_RUBY_PLATFORM: true
@@ -344,6 +349,11 @@ jobs:
344349
if: always()
345350
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
346351

352+
# https://github.com/orgs/community/discussions/26952
353+
- name: Support longpaths
354+
if: runner.os == 'Windows'
355+
run: git config --system core.longpaths true
356+
347357
- name: Setup Ruby
348358
if: always()
349359
env:

.github/workflows/shared_smb_acceptance.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ jobs:
7474
docker compose build
7575
docker compose up --wait -d
7676
77+
# https://github.com/orgs/community/discussions/26952
78+
- name: Support longpaths
79+
if: runner.os == 'Windows'
80+
run: git config --system core.longpaths true
81+
7782
- name: Setup Ruby
7883
env:
7984
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
@@ -143,6 +148,11 @@ jobs:
143148
if: always()
144149
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz
145150

151+
# https://github.com/orgs/community/discussions/26952
152+
- name: Support longpaths
153+
if: runner.os == 'Windows'
154+
run: git config --system core.longpaths true
155+
146156
- name: Setup Ruby
147157
if: always()
148158
env:

.github/workflows/verify.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ jobs:
8888
- name: Checkout code
8989
uses: actions/checkout@v4
9090

91+
# https://github.com/orgs/community/discussions/26952
92+
- name: Support longpaths
93+
if: runner.os == 'Windows'
94+
run: git config --system core.longpaths true
95+
9196
- name: Setup Ruby
9297
env:
9398
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM

0 commit comments

Comments
 (0)