summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-09-11 17:17:56 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-09-11 17:17:56 +0200
commite99c195e78a7991cb9eec3d00da05acb5416ca24 (patch)
treeae7690f205fe2cbe19fc85b2000d261d48e074fa
parentd7ba64465303c7accea501ab8bd3f1a870277e07 (diff)
parent67b9020bf9140b6abc841527e07c4e8a2f9fa4b4 (diff)
downloadmullvadvpn-e99c195e78a7991cb9eec3d00da05acb5416ca24.tar.xz
mullvadvpn-e99c195e78a7991cb9eec3d00da05acb5416ca24.zip
Merge branch 'fix-workflows-long-path'
-rw-r--r--.github/workflows/clippy.yml6
-rw-r--r--.github/workflows/rust-unused-dependencies.yml6
-rw-r--r--.github/workflows/testframework-clippy.yml5
3 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 0c35a4d6d4..1e448fb863 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -37,6 +37,12 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
+ # By default, the longest path a filename can have in git on Windows is 260 character.
+ - name: Set git config for long paths
+ if: runner.os == 'Windows'
+ run: |
+ git config --system core.longpaths true
+
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml
index 6d53de53c5..b5caa33e97 100644
--- a/.github/workflows/rust-unused-dependencies.yml
+++ b/.github/workflows/rust-unused-dependencies.yml
@@ -99,6 +99,12 @@ jobs:
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
+ # By default, the longest path a filename can have in git on Windows is 260 character.
+ - name: Set git config for long paths
+ if: runner.os == 'Windows'
+ run: |
+ git config --system core.longpaths true
+
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/.github/workflows/testframework-clippy.yml b/.github/workflows/testframework-clippy.yml
index d5125f4fc9..34926e20c7 100644
--- a/.github/workflows/testframework-clippy.yml
+++ b/.github/workflows/testframework-clippy.yml
@@ -51,6 +51,11 @@ jobs:
name: Clippy linting of test workspace (Windows)
runs-on: windows-latest
steps:
+ # By default, the longest path a filename can have in git on Windows is 260 character.
+ - name: Set git config for long paths
+ run: |
+ git config --system core.longpaths true
+
- name: Checkout repository
uses: actions/checkout@v4