summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-09-11 16:46:09 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-09-11 16:55:02 +0200
commit67b9020bf9140b6abc841527e07c4e8a2f9fa4b4 (patch)
treeae7690f205fe2cbe19fc85b2000d261d48e074fa /.github/workflows
parentd7ba64465303c7accea501ab8bd3f1a870277e07 (diff)
downloadmullvadvpn-67b9020bf9140b6abc841527e07c4e8a2f9fa4b4.tar.xz
mullvadvpn-67b9020bf9140b6abc841527e07c4e8a2f9fa4b4.zip
Set core.longpaths in all relevant workflows
Diffstat (limited to '.github/workflows')
-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